casa
5.7.0-16
|
Describes a compiled function for describing a spectral profile. More...
#include <CompiledSpectralElement.h>
Public Member Functions | |
CompiledSpectralElement (const casacore::String &function, const casacore::Vector< casacore::Double > ¶m) | |
Construct a compiled string. More... | |
CompiledSpectralElement (const CompiledSpectralElement &other) | |
virtual | ~CompiledSpectralElement () |
SpectralElement * | clone () const |
CompiledSpectralElement & | operator= (const CompiledSpectralElement &other) |
virtual casacore::Double | operator() (const casacore::Double x) const |
Evaluate the value of the element at x. More... | |
*const casacore::String & | getFunction () const |
Get the string of a compiled functional. More... | |
Public Member Functions inherited from casa::SpectralElement | |
virtual | ~SpectralElement () |
casacore::Bool | operator== (const SpectralElement &other) const |
virtual casacore::Double | operator[] (const casacore::uInt n) const |
Get parameter n. More... | |
SpectralElement::Types | getType () const |
Get type of this element. More... | |
void | get (casacore::Vector< casacore::Double > ¶ms) const |
Get all parameters. More... | |
casacore::Vector < casacore::Double > | get () const |
void | getError (casacore::Vector< casacore::Double > &err) const |
Get error estimates of parameters. More... | |
casacore::Vector < casacore::Double > | getError () const |
casacore::uInt | getOrder () const |
Get the order (i.e. More... | |
virtual void | setError (const casacore::Vector< casacore::Double > &err) |
Set the error fields. More... | |
virtual void | fix (const casacore::Vector< casacore::Bool > &fix) |
Set fixed parameters (true) or unset them (false) More... | |
const casacore::Vector < casacore::Bool > & | fixed () const |
Get the fix state[s]. More... | |
virtual casacore::Bool | toRecord (casacore::RecordInterface &out) const |
Save to a record. More... | |
virtual void | set (const casacore::Vector< casacore::Double > ¶ms) |
set parameters More... | |
Describes a compiled function for describing a spectral profile.
Public interface
From compiled and spectral line and element
The CompiledSpectralElement class describes a compiled function for describing spectral profile.
To have a container for data describing a compiled function for describing a spectral profile for fitting to an observed spectrum
Definition at line 66 of file CompiledSpectralElement.h.
|
explicit |
Construct a compiled string.
casa::CompiledSpectralElement::CompiledSpectralElement | ( | const CompiledSpectralElement & | other | ) |
|
virtual |
|
virtual |
Implements casa::SpectralElement.
Reimplemented in casa::GaussianMultipletSpectralElement.
* const casacore::String& casa::CompiledSpectralElement::getFunction | ( | ) | const |
Get the string of a compiled functional.
|
virtual |
Evaluate the value of the element at x.
Reimplemented from casa::SpectralElement.
CompiledSpectralElement& casa::CompiledSpectralElement::operator= | ( | const CompiledSpectralElement & | other | ) |