29 #ifndef SCIMATH_GAUSSIAN2DPARAM_H 30 #define SCIMATH_GAUSSIAN2DPARAM_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/scimath/Functionals/Function.h> 34 #include <casacore/casa/BasicSL/String.h> 39 template<
class T>
class Vector;
277 void setPA(
const T &pa);
303 #ifndef CASACORE_NO_AUTO_TEMPLATES 304 #include <casacore/scimath/Functionals/Gaussian2DParam.tcc> 305 #endif //# CASACORE_NO_AUTO_TEMPLATES A 1-D Specialization of the Array class.
FunctionParam< T > param_p
The parameters and masks.
LatticeExprNode log(const LatticeExprNode &expr)
Vector< T > center() const
Get or set the center ordinate of the Gaussian.
Vector< T > width() const
Set or get the FWHM of the Gaussian.
T height() const
Get or set the peak height of the Gaussian.
Gaussian2DParam()
Constructs the two dimensional Gaussians.
Parameter handling for 2 dimensional Gaussian class.
void setMinorAxis(const T &width)
Gaussian2DParam< T > & operator=(const Gaussian2DParam< T > &other)
Copy assignment (deep copy)
void setXcenter(const T &cnter)
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
T flux() const
Get or set the analytical integrated area underneath the Gaussian.
virtual uInt ndim() const
Variable dimensionality.
Numerical functional interface class.
void setMajorAxis(const T &width)
void setWidth(const Vector< T > &width)
LatticeExprNode sqrt(const LatticeExprNode &expr)
virtual const String & name() const
Give name of function.
Gaussian2DParam(const Gaussian2DParam< W > &other)
void setAxialRatio(const T &axialRatio)
void setHeight(const T &height)
T theXwidth
cached vale of the Xwidth = ratio*theYwidth;
void setYcenter(const T &cnter)
T theSpa
cached values of the cos and sine of thePA
T PA() const
Set/get the rotation angle (orientation) of the Gaussian.
T fwhm2int
Constant to scale halfwidth at 1/e to FWHM.
void setFlux(const T &flux)
String: the storage and methods of handling collections of characters.
T thePA
cached vale of the PA
virtual ~Gaussian2DParam()
Destructor.
void setCenter(const Vector< T > ¢er)
this file contains all the compiler specific defines