28 #ifndef SCIMATH_GAUSSIANNDPARAM_H
29 #define SCIMATH_GAUSSIANNDPARAM_H
290 #ifndef CASACORE_NO_AUTO_TEMPLATES
291 #include <casacore/scimath/Functionals/GaussianNDParam.tcc>
292 #endif //# CASACORE_NO_AUTO_TEMPLATES
A 1-D Specialization of the Array class.
FunctionParam< T > param_p
The parameters and masks.
void setVariance(const Vector< T > &variance)
A Multi-dimensional Gaussian parameter handling.
void unpack(const Matrix< T > &covar)
GaussianNDParam(const GaussianNDParam< W > &other)
A 2-D Specialization of the Array class.
void setFlux(const T &flux)
GaussianNDParam()
Constructs a Gaussian using the indicated height, mean, variance & covariance.
T itsFlux2Hgt
factor to convert from flux to height
Matrix< T > covariance() const
The covariance Matrix defines the correlations between all the axes.
Numerical functional interface class.
void setMean(const Vector< T > &mean)
virtual uInt ndim() const
Variable dimensionality.
uInt itsDim
dimensionality
GaussianNDParam< T > & operator=(const GaussianNDParam< T > &other)
Copy assignment (deep copy)
void setCovariance(const Matrix< T > &covar)
T flux() const
The analytical integrated area underneath the Gaussian.
virtual ~GaussianNDParam()
Destructor.
T height() const
Get or set the peak height of the Gaussian.
void repack(Matrix< T > &covar) const
Functions to convert between internal Vector of parameters and the Covariance Matrix.
Vector< T > mean() const
The center ordinate of the Gaussian.
virtual const String & name() const
Give name of function.
Vector< T > variance() const
The FWHM of the Gaussian is sqrt(8*variance*log(2)).
String: the storage and methods of handling collections of characters.
void setHeight(const T &height)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.