casa::PolynomialSpectralElement Class Reference

Describes a polynomial spectral profile. More...

#include <PolynomialSpectralElement.h>

Inheritance diagram for casa::PolynomialSpectralElement:
casa::SpectralElement casa::LogTransformedPolynomialSpectralElement

List of all members.

Public Member Functions

 PolynomialSpectralElement ()
 Useless constructor for anythong but allocating memory in a Vector etc.
 PolynomialSpectralElement (const uInt n)
 Construct an n-degree polynomial.
 PolynomialSpectralElement (const Vector< Double > &param)
 Construct the given tp with the given param.
 PolynomialSpectralElement (const PolynomialSpectralElement &other)
 Copy constructor (deep copy).
 ~PolynomialSpectralElement ()
SpectralElementclone () const
uInt getDegree () const
 Get the degree of polynomial.

Detailed Description

Describes a polynomial spectral profile.

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

From polynomial and spectral line and element

Synopsis

The PolynomialSpectralElement class describes a polynomial spectral profile.

Example

Motivation

To have a container for data describing a polynomial spectral profile for fitting to an observed spectrum

Definition at line 66 of file PolynomialSpectralElement.h.


Constructor & Destructor Documentation

casa::PolynomialSpectralElement::PolynomialSpectralElement (  ) 

Useless constructor for anythong but allocating memory in a Vector etc.

casa::PolynomialSpectralElement::PolynomialSpectralElement ( const uInt  n  )  [explicit]

Construct an n-degree polynomial.

casa::PolynomialSpectralElement::PolynomialSpectralElement ( const Vector< Double > &  param  ) 

Construct the given tp with the given param.

Thrown Exceptions

  • AipsError if incorrect number of parameters (e.g. not 3 for GAUSSIAN)
  • AipsError if sigma == 0.0
casa::PolynomialSpectralElement::PolynomialSpectralElement ( const PolynomialSpectralElement other  ) 

Copy constructor (deep copy).

Thrown Exceptions

  • AipsError if sigma == 0.0
casa::PolynomialSpectralElement::~PolynomialSpectralElement (  ) 

Member Function Documentation

SpectralElement* casa::PolynomialSpectralElement::clone (  )  const [virtual]
uInt casa::PolynomialSpectralElement::getDegree (  )  const

Get the degree of polynomial.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1