casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
casa::SpectralElementFactory Class Reference

FIXME fix documentation. More...

#include <SpectralElementFactory.h>

List of all members.

Static Public Member Functions

static std::auto_ptr
< SpectralElement
fromRecord (const RecordInterface &container)
 Construct from record.

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 71 of file SpectralElementFactory.h.


Member Function Documentation

static std::auto_ptr<SpectralElement> casa::SpectralElementFactory::fromRecord ( const RecordInterface container) [static]

Construct from record.

Must hold fields "type" (String) and "parameters" (Vector<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: