28 #ifndef SCIMATH_GAUSSIAN1D_H 29 #define SCIMATH_GAUSSIAN1D_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/scimath/Functionals/Gaussian1DParam.h> 34 #include <casacore/scimath/Functionals/Function1D.h> 35 #include <casacore/scimath/Mathematics/AutoDiff.h> 36 #include <casacore/scimath/Mathematics/AutoDiffMath.h> 195 #define Gaussian1D_PS Gaussian1D 232 Gaussian1D_PS<AutoDiff<T> > &
276 #ifndef CASACORE_NO_AUTO_TEMPLATES 277 #include <casacore/scimath/Functionals/Gaussian1D.tcc> 278 #include <casacore/scimath/Functionals/Gaussian1D2.tcc> 279 #endif //# CASACORE_NO_AUTO_TEMPLATES Gaussian1D(const Gaussian1D< T > &other)
Copy constructor (deep copy)
Gaussian1D< T > & operator=(const Gaussian1D< T > &other)
Copy assignment (deep copy)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
FunctionParam< T > param_p
The parameters and masks.
Gaussian1D()
Constructs the one dimensional Gaussians.
T center() const
Get or set the center ordinate of the Gaussian.
T width() const
Get or set the FWHM of the Gaussian.
T height() const
Get or set the peak height of the Gaussian.
Gaussian1D(const Gaussian1D< W > &other)
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the Gaussian at x.
Gaussian1D(const T &height, const T ¢er, const T &width)
T fwhm2int
Constant to scale halfwidth at 1/e to FWHM.
Gaussian1D(const T &height, const T ¢er)
A one dimensional Gaussian class.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Class that computes partial derivatives by automatic differentiation.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
Numerical functional interface class for 1 dimension.
Gaussian1D(const T &height)
Gaussian1D_PS(const AutoDiff< T > &height)
virtual ~Gaussian1D()
Destructor.
Gaussian1DParam< T > & operator=(const Gaussian1DParam< T > &other)
Copy assignment (deep copy)
this file contains all the compiler specific defines
Parameter handling for one dimensional Gaussian class.