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