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::Gaussian2DFitter Class Reference

Performs a 2DGaussian fit of an image in a background thread. More...

#include <Gaussian2DFitter.h>

Inheritance diagram for casa::Gaussian2DFitter:

Public Member Functions

 Gaussian2DFitter ()
 
void run ()
 
bool isFitSuccessful () const
 
void setFitParameters (std::shared_ptr< const casacore::ImageInterface< casacore::Float > > image, const casacore::String &box, int channelNum, const casacore::String &estimatesFileName, const casacore::String &residualImageFile, const casacore::Vector< casacore::Float > &includeVector, const casacore::Vector< casacore::Float > &excludeVector)
 
QString getErrorMessage () const
 
QString getLogFilePath () const
 
void setWriteLogFile (bool write)
 
QString getResidualImagePath () const
 
void setFilePath (casacore::String path)
 
bool writeRegionFile () const
 
QList< RegionShape * > toDrawingDisplay (const std::shared_ptr< const casacore::ImageInterface< casacore::Float > > image, const QString &colorName) const
 
virtual ~Gaussian2DFitter ()
 

Private Member Functions

 Gaussian2DFitter (const Gaussian2DFitter &other)
 
Gaussian2DFitter operator= (const Gaussian2DFitter &other)
 

Private Attributes

QString errorMsg
 
bool successfulFit
 
bool logFile
 
ComponentListWrapper fitResultList
 
std::shared_ptr< const
casacore::ImageInterface
< casacore::Float > > 
image
 
std::shared_ptr< std::pair
< casacore::Float,
casacore::Float > > 
includePixs
 
std::shared_ptr< std::pair
< casacore::Float,
casacore::Float > > 
excludePixs
 
casacore::String pixelBox
 
casacore::String filePath
 
int channelNumber
 
casacore::String estimateFile
 
casacore::String residualImageFile
 
const QString LOG_SUFFIX
 
const QString REGION_SUFFIX
 

Detailed Description

Performs a 2DGaussian fit of an image in a background thread.

Definition at line 47 of file Gaussian2DFitter.h.

Constructor & Destructor Documentation

casa::Gaussian2DFitter::Gaussian2DFitter ( )
virtual casa::Gaussian2DFitter::~Gaussian2DFitter ( )
virtual
casa::Gaussian2DFitter::Gaussian2DFitter ( const Gaussian2DFitter other)
private

Member Function Documentation

QString casa::Gaussian2DFitter::getErrorMessage ( ) const
QString casa::Gaussian2DFitter::getLogFilePath ( ) const
QString casa::Gaussian2DFitter::getResidualImagePath ( ) const
bool casa::Gaussian2DFitter::isFitSuccessful ( ) const
Gaussian2DFitter casa::Gaussian2DFitter::operator= ( const Gaussian2DFitter other)
private
void casa::Gaussian2DFitter::run ( )
void casa::Gaussian2DFitter::setFilePath ( casacore::String  path)
void casa::Gaussian2DFitter::setFitParameters ( std::shared_ptr< const casacore::ImageInterface< casacore::Float > >  image,
const casacore::String box,
int  channelNum,
const casacore::String estimatesFileName,
const casacore::String residualImageFile,
const casacore::Vector< casacore::Float > &  includeVector,
const casacore::Vector< casacore::Float > &  excludeVector 
)
void casa::Gaussian2DFitter::setWriteLogFile ( bool  write)
QList<RegionShape*> casa::Gaussian2DFitter::toDrawingDisplay ( const std::shared_ptr< const casacore::ImageInterface< casacore::Float > >  image,
const QString &  colorName 
) const
bool casa::Gaussian2DFitter::writeRegionFile ( ) const

Member Data Documentation

int casa::Gaussian2DFitter::channelNumber
private

Definition at line 76 of file Gaussian2DFitter.h.

QString casa::Gaussian2DFitter::errorMsg
private

Definition at line 67 of file Gaussian2DFitter.h.

casacore::String casa::Gaussian2DFitter::estimateFile
private

Definition at line 77 of file Gaussian2DFitter.h.

std::shared_ptr<std::pair<casacore::Float, casacore::Float> > casa::Gaussian2DFitter::excludePixs
private

Definition at line 73 of file Gaussian2DFitter.h.

casacore::String casa::Gaussian2DFitter::filePath
private

Definition at line 75 of file Gaussian2DFitter.h.

ComponentListWrapper casa::Gaussian2DFitter::fitResultList
private

Definition at line 70 of file Gaussian2DFitter.h.

std::shared_ptr<const casacore::ImageInterface<casacore::Float> > casa::Gaussian2DFitter::image
private

Definition at line 71 of file Gaussian2DFitter.h.

std::shared_ptr<std::pair<casacore::Float, casacore::Float> > casa::Gaussian2DFitter::includePixs
private

Definition at line 72 of file Gaussian2DFitter.h.

const QString casa::Gaussian2DFitter::LOG_SUFFIX
private

Definition at line 79 of file Gaussian2DFitter.h.

bool casa::Gaussian2DFitter::logFile
private

Definition at line 69 of file Gaussian2DFitter.h.

casacore::String casa::Gaussian2DFitter::pixelBox
private

Definition at line 74 of file Gaussian2DFitter.h.

const QString casa::Gaussian2DFitter::REGION_SUFFIX
private

Definition at line 80 of file Gaussian2DFitter.h.

casacore::String casa::Gaussian2DFitter::residualImageFile
private

Definition at line 78 of file Gaussian2DFitter.h.

bool casa::Gaussian2DFitter::successfulFit
private

Definition at line 68 of file Gaussian2DFitter.h.


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