29 #ifndef SCIMATH_GAUSSIAN2DPARAM_H
30 #define SCIMATH_GAUSSIAN2DPARAM_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/ArrayFwd.h>
34 #include <casacore/scimath/Functionals/Function.h>
35 #include <casacore/casa/BasicSL/String.h>
301 #ifndef CASACORE_NO_AUTO_TEMPLATES
302 #include <casacore/scimath/Functionals/Gaussian2DParam.tcc>
FunctionParam< T > param_p
The parameters and masks.
T theXwidth
cached vale of the Xwidth = ratio*theYwidth;
T height() const
Get or set the peak height of the Gaussian.
Gaussian2DParam(const Gaussian2DParam< W > &other)
T thePA
cached vale of the PA
void setCenter(const Vector< T > ¢er)
Gaussian2DParam< T > & operator=(const Gaussian2DParam< T > &other)
Copy assignment (deep copy)
virtual ~Gaussian2DParam()
Destructor.
Gaussian2DParam(const T &height, const T &xCenter, const T &yCenter, const T &majorAxis, const T &axialRatio, const T &pa)
T fwhm2int
Constant to scale halfwidth at 1/e to FWHM.
T PA() const
Set/get the rotation angle (orientation) of the Gaussian.
Gaussian2DParam(const Gaussian2DParam< T > &other)
Copy constructor (deep copy)
Gaussian2DParam()
Constructs the two dimensional Gaussians.
T theSpa
cached values of the cos and sine of thePA
void setMinorAxis(const T &width)
virtual const String & name() const
Give name of function.
void setFlux(const T &flux)
void setYcenter(const T &cnter)
void setHeight(const T &height)
virtual uInt ndim() const
Variable dimensionality.
void setMajorAxis(const T &width)
void setAxialRatio(const T &axialRatio)
Vector< T > width() const
Set or get the FWHM of the Gaussian.
void setWidth(const Vector< T > &width)
Vector< T > center() const
Get or set the center ordinate of the Gaussian.
void setXcenter(const T &cnter)
T flux() const
Get or set the analytical integrated area underneath the Gaussian.
Gaussian2DParam(const T &height, const Vector< T > ¢er, const Vector< T > &width, const T &pa)
String: the storage and methods of handling collections of characters.
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.
LatticeExprNode sqrt(const LatticeExprNode &expr)
LatticeExprNode log(const LatticeExprNode &expr)