28 #ifndef COMPONENTS_LORENTZIANSPECTRALELEMENT_H
29 #define COMPONENTS_LORENTZIANSPECTRALELEMENT_H
104 std::ostream &
operator<<(std::ostream& os,
const LorentzianSpectralElement& elem);
LorentzianSpectralElement()
has amp = 1, center = 0, and fwhm = 1
ostream & operator<<(ostream &os, const PageHeaderCache &cache)
void setFWHM(casacore::Double fwhm)
virtual casacore::Double getWidth() const
Get the width.
virtual void setWidth(const casacore::Double width)
Describes (a set of related) spectral lines.
casacore::Double getFWHMErr() const
Describes a single Lorentzian spectral profile.
Abstract base class that describes a spectral profile that can be parameterized by a peak value (ampl...
casacore::Double getFWHM() const
~LorentzianSpectralElement()
virtual casacore::Double getWidthErr() const
Get the width error estimate.
casacore::Double getIntegral() const
get the integral of the function
LorentzianSpectralElement & operator=(const LorentzianSpectralElement &other)
Assignment (copy semantics)
SpectralElement * clone() const