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

Describes a single Lorentzian spectral profile. More...

#include <LorentzianSpectralElement.h>

Inheritance diagram for casa::LorentzianSpectralElement:
casa::PCFSpectralElement casa::SpectralElement

List of all members.

Public Member Functions

 LorentzianSpectralElement ()
 has amp = 1, center = 0, and fwhm = 1
 LorentzianSpectralElement (const Double ampl, const Double center, const Double fwhm)
 Construct with given type and values.
 LorentzianSpectralElement (const Vector< Double > &param)
 LorentzianSpectralElement (const LorentzianSpectralElement &other)
 Copy constructor (deep copy)
 ~LorentzianSpectralElement ()
SpectralElementclone () const
LorentzianSpectralElementoperator= (const LorentzianSpectralElement &other)
 Assignment (copy semantics)
Double operator() (const Double x) const
 Evaluate the value of the profile at x.
Double getIntegral () const
 get the integral of the function

Detailed Description

Describes a single Lorentzian spectral profile.

Intended use:

Public interface

Review Status

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

Prerequisite

Etymology

From Lorentzian and spectral profile and element

Synopsis

The LorentzianSpectralElement class describes a Lorentzian spectral profile.

Example

Motivation

To have a container for data descrbing a Lorentzian spectral profile for fitting to an observed spectrum

Definition at line 63 of file LorentzianSpectralElement.h.


Constructor & Destructor Documentation

has amp = 1, center = 0, and fwhm = 1

casa::LorentzianSpectralElement::LorentzianSpectralElement ( const Double  ampl,
const Double  center,
const Double  fwhm 
)

Construct with given type and values.

Thrown Exceptions

Copy constructor (deep copy)


Member Function Documentation

Implements casa::SpectralElement.

get the integral of the function

Implements casa::PCFSpectralElement.

Double casa::LorentzianSpectralElement::operator() ( const Double  x) const [virtual]

Evaluate the value of the profile at x.

Implements casa::SpectralElement.

LorentzianSpectralElement& casa::LorentzianSpectralElement::operator= ( const LorentzianSpectralElement other)

Assignment (copy semantics)


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