28 #ifndef SCIMATH_GAUSSIAN2D_H
29 #define SCIMATH_GAUSSIAN2D_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/ArrayFwd.h>
34 #include <casacore/scimath/Functionals/Gaussian2DParam.h>
35 #include <casacore/scimath/Functionals/Function.h>
36 #include <casacore/scimath/Mathematics/AutoDiff.h>
37 #include <casacore/scimath/Mathematics/AutoDiffMath.h>
247 #define Gaussian2D_PS Gaussian2D
287 Gaussian2D_PS<AutoDiff<T> > &
311 *cloneNonAD()
const {
338 #ifndef CASACORE_NO_AUTO_TEMPLATES
339 #include <casacore/scimath/Functionals/Gaussian2D.tcc>
340 #include <casacore/scimath/Functionals/Gaussian2D2.tcc>
const ArgType * FunctionArg
T height() const
Get or set the peak height of the Gaussian.
Gaussian2DParam< T > & operator=(const Gaussian2DParam< T > &other)
Copy assignment (deep copy)
Vector< T > width() const
Set or get the FWHM of the Gaussian.
Vector< T > center() const
Get or set the center ordinate of the Gaussian.
Gaussian2D_PS(const AutoDiff< T > &height, const Vector< AutoDiff< T > > ¢er, const Vector< AutoDiff< T > > &width, const AutoDiff< T > &pa)
virtual ~Gaussian2D()
Destructor.
Gaussian2D(const T &height, const T &xCenter, const T &yCenter, const T &majorAxis, const T &axialRatio, const T &pa)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Gaussian2D()
Constructs the two dimensional Gaussians.
Gaussian2D< T > & operator=(const Gaussian2D< T > &other)
Copy assignment (deep copy)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
Gaussian2D(const Gaussian2D< W > &other)
Gaussian2D(const T &height, const Vector< T > ¢er, const Vector< T > &width, const T &pa)
Gaussian2D(const Gaussian2D< T > &other)
Copy constructor (deep copy)
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Gaussian at x.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
this file contains all the compiler specific defines
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
PtrHolder< T > & operator=(const PtrHolder< T > &other)