casa
$Rev:20696$
|
Describes a single Lorentzian spectral profile. More...
#include <LorentzianSpectralElement.h>
Public Member Functions | |
LorentzianSpectralElement () | |
has amp = 1, center = 0, and fwhm = 1 | |
LorentzianSpectralElement (const Double ampl, const Double center, const Double fwhm) | |
Construct with given type and values. | |
LorentzianSpectralElement (const Vector< Double > ¶m) | |
LorentzianSpectralElement (const LorentzianSpectralElement &other) | |
Copy constructor (deep copy) | |
~LorentzianSpectralElement () | |
SpectralElement * | clone () const |
LorentzianSpectralElement & | operator= (const LorentzianSpectralElement &other) |
Assignment (copy semantics) | |
Double | operator() (const Double x) const |
Evaluate the value of the profile at x. | |
Double | getIntegral () const |
get the integral of the function |
Describes a single Lorentzian spectral profile.
Public interface
From Lorentzian and spectral profile and element
The LorentzianSpectralElement class describes a Lorentzian spectral profile.
To have a container for data descrbing a Lorentzian spectral profile for fitting to an observed spectrum
Definition at line 63 of file LorentzianSpectralElement.h.
has amp = 1, center = 0, and fwhm = 1
casa::LorentzianSpectralElement::LorentzianSpectralElement | ( | const Double | ampl, |
const Double | center, | ||
const Double | fwhm | ||
) |
casa::LorentzianSpectralElement::LorentzianSpectralElement | ( | const Vector< Double > & | param | ) |
casa::LorentzianSpectralElement::LorentzianSpectralElement | ( | const LorentzianSpectralElement & | other | ) |
Copy constructor (deep copy)
SpectralElement* casa::LorentzianSpectralElement::clone | ( | ) | const [virtual] |
Implements casa::SpectralElement.
Double casa::LorentzianSpectralElement::getIntegral | ( | ) | const [virtual] |
get the integral of the function
Implements casa::PCFSpectralElement.
Evaluate the value of the profile at x.
Implements casa::SpectralElement.
LorentzianSpectralElement& casa::LorentzianSpectralElement::operator= | ( | const LorentzianSpectralElement & | other | ) |
Assignment (copy semantics)