casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
casa::SpectralElementFactory Class Reference

FIXME fix documentation. More...

#include <SpectralElementFactory.h>

Static Public Member Functions

static SpectralElementfromRecord (const casacore::RecordInterface &container)
 Construct from record. More...
 

Detailed Description

FIXME fix documentation.

Class for creating spectral elements

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd
Test programs:
tSpectralFit

Prerequisite

Etymology

From spectral and element and factory. As in to manufacture a SpectralElement

Synopsis

SpectralElementFactory contains methods for creating SpectralElements.

Example

Motivation

To have a factory class for producing types of SpectralElements.

Definition at line 68 of file SpectralElementFactory.h.

Member Function Documentation

static SpectralElement* casa::SpectralElementFactory::fromRecord ( const casacore::RecordInterface container)
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.


The documentation for this class was generated from the following file: