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

#include <SpecFitGaussian.h>

Inheritance diagram for casa::SpecFitGaussian:

Public Member Functions

 SpecFitGaussian (float peak, float center, float fwhm, int index)
 SpecFitGaussian (const SpecFitGaussian &other)
void setPeak (float peak)
void setCenter (float center)
void setFWHM (float fwhm)
float getFWHM () const
float getCenter () const
float getPeak () const
void setPeakFixed (bool fixed)
void setCenterFixed (bool fixed)
void setFwhmFixed (bool fixed)
bool isPeakFixed () const
bool isCenterFixed () const
bool isFwhmFixed () const
void evaluate (casacore::Vector< casacore::Float > &xValues)
SpecFitGaussianoperator= (const SpecFitGaussian &other)
virtual ~SpecFitGaussian ()
- Public Member Functions inherited from casa::SpecFit
 SpecFit (QString suffix)
 SpecFit (const SpecFit &other)
QString getSuffix ()
virtual bool isXPixels ()
casacore::Vector< casacore::FloatgetXValues () const
void setXValues (casacore::Vector< casacore::Float > &xVals)
casacore::Vector< casacore::FloatgetYValues () const
void setCurveName (QString curveName)
QString getCurveName () const
bool isSpecFitFor (int pixelX, int pixelY, int minX, int minY) const
void setFitCenter (int pixelX, int pixelY)
SpecFitoperator= (const SpecFit &other)
virtual ~SpecFit ()

Private Member Functions

void initialize (const SpecFitGaussian &other)

Private Attributes

float peak
float center
float fwhm
bool fixedPeak
bool fixedCenter
bool fixedFwhm

Additional Inherited Members

- Protected Member Functions inherited from casa::SpecFit
void initialize (const SpecFit &other)
- Protected Attributes inherited from casa::SpecFit
casacore::Vector< casacore::FloatxValues
casacore::Vector< casacore::FloatyValues

Detailed Description

Definition at line 32 of file SpecFitGaussian.h.

Constructor & Destructor Documentation

casa::SpecFitGaussian::SpecFitGaussian ( float  peak,
float  center,
float  fwhm,
int  index 
casa::SpecFitGaussian::SpecFitGaussian ( const SpecFitGaussian other)
virtual casa::SpecFitGaussian::~SpecFitGaussian ( )

Member Function Documentation

void casa::SpecFitGaussian::evaluate ( casacore::Vector< casacore::Float > &  xValues)

Implements casa::SpecFit.

float casa::SpecFitGaussian::getCenter ( ) const
float casa::SpecFitGaussian::getFWHM ( ) const
float casa::SpecFitGaussian::getPeak ( ) const
void casa::SpecFitGaussian::initialize ( const SpecFitGaussian other)
bool casa::SpecFitGaussian::isCenterFixed ( ) const
bool casa::SpecFitGaussian::isFwhmFixed ( ) const
bool casa::SpecFitGaussian::isPeakFixed ( ) const
SpecFitGaussian& casa::SpecFitGaussian::operator= ( const SpecFitGaussian other)
void casa::SpecFitGaussian::setCenter ( float  center)
void casa::SpecFitGaussian::setCenterFixed ( bool  fixed)
void casa::SpecFitGaussian::setFWHM ( float  fwhm)
void casa::SpecFitGaussian::setFwhmFixed ( bool  fixed)
void casa::SpecFitGaussian::setPeak ( float  peak)
void casa::SpecFitGaussian::setPeakFixed ( bool  fixed)

Member Data Documentation

float casa::SpecFitGaussian::center

Definition at line 56 of file SpecFitGaussian.h.

bool casa::SpecFitGaussian::fixedCenter

Definition at line 59 of file SpecFitGaussian.h.

bool casa::SpecFitGaussian::fixedFwhm

Definition at line 60 of file SpecFitGaussian.h.

bool casa::SpecFitGaussian::fixedPeak

Definition at line 58 of file SpecFitGaussian.h.

float casa::SpecFitGaussian::fwhm

Definition at line 57 of file SpecFitGaussian.h.

float casa::SpecFitGaussian::peak

Definition at line 55 of file SpecFitGaussian.h.

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