casa
5.7.0-16
|
FIXME fix documentation. More...
#include <SpectralElementFactory.h>
Static Public Member Functions | |
static SpectralElement * | fromRecord (const casacore::RecordInterface &container) |
Construct from record. More... | |
FIXME fix documentation.
Class for creating spectral elements
Public interface
From spectral and element and factory. As in to manufacture a SpectralElement
SpectralElementFactory contains methods for creating SpectralElements.
To have a factory class for producing types of SpectralElements.
Definition at line 68 of file SpectralElementFactory.h.
|
static |
Construct from record.
Must hold fields "type" (casacore::String) and "parameters" (casacore::Vector<casacore::Double>). For type=GAUSSIAN, parameters holds amplitude, center and sigma. For type=POLYNOMIAL, parameters(0) holds the degree.