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>
FunctionParam< T > param_p
The parameters and masks.
void setMean(const Vector< T > &mean)
GaussianNDParam(uInt ndim, const T &height)
Vector< T > mean() const
The center ordinate of the Gaussian.
void setVariance(const Vector< T > &variance)
void setCovariance(const Matrix< T > &covar)
void setFlux(const T &flux)
virtual const String & name() const
Give name of function.
GaussianNDParam(uInt ndim, const T &height, const Vector< T > &mean, const Vector< T > &variance)
Matrix< T > covariance() const
The covariance Matrix defines the correlations between all the axes.
void repack(Matrix< T > &covar) const
Functions to convert between internal Vector of parameters and the Covariance Matrix.
void unpack(const Matrix< T > &covar)
GaussianNDParam(const GaussianNDParam< W > &other)
T height() const
Get or set the peak height of the Gaussian.
GaussianNDParam(uInt ndim)
GaussianNDParam< T > & operator=(const GaussianNDParam< T > &other)
Copy assignment (deep copy)
virtual uInt ndim() const
Variable dimensionality.
GaussianNDParam(const GaussianNDParam &other)
Copy constructor (deep copy)
T itsFlux2Hgt
factor to convert from flux to height
T flux() const
The analytical integrated area underneath the Gaussian.
GaussianNDParam(uInt ndim, const T &height, const Vector< T > &mean, const Matrix< T > &covar)
GaussianNDParam(uInt ndim, const T &height, const Vector< T > &mean)
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 setHeight(const T &height)
uInt itsDim
dimensionality
virtual ~GaussianNDParam()
Destructor.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines