29 #ifndef SCIMATH_GAUSSIAN2DPARAM_H
30 #define SCIMATH_GAUSSIAN2DPARAM_H
39 template<
class T>
class Vector;
303 #ifndef CASACORE_NO_AUTO_TEMPLATES
304 #include <casacore/scimath/Functionals/Gaussian2DParam.tcc>
305 #endif //# CASACORE_NO_AUTO_TEMPLATES
T PA() const
Set/get the rotation angle (orientation) of the Gaussian.
A 1-D Specialization of the Array class.
FunctionParam< T > param_p
The parameters and masks.
std::vector< double > Vector
LatticeExprNode log(const LatticeExprNode &expr)
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.
virtual const String & name() const
Give name of function.
Vector< T > width() const
Set or get the FWHM of the Gaussian.
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.
Numerical functional interface class.
void setMajorAxis(const T &width)
void setWidth(const Vector< T > &width)
LatticeExprNode sqrt(const LatticeExprNode &expr)
Gaussian2DParam(const Gaussian2DParam< W > &other)
void setAxialRatio(const T &axialRatio)
void setHeight(const T &height)
T theXwidth
cached vale of the Xwidth = ratio*theYwidth;
virtual uInt ndim() const
Variable dimensionality.
void setYcenter(const T &cnter)
T theSpa
cached values of the cos and sine of thePA
T flux() const
Get or set the analytical integrated area underneath 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
Vector< T > center() const
Get or set the center ordinate of the Gaussian.
virtual ~Gaussian2DParam()
Destructor.
void setCenter(const Vector< T > ¢er)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.