casa
5.7.0-16
|
Performs a 2DGaussian fit of an image in a background thread. More...
#include <Gaussian2DFitter.h>
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 |
Performs a 2DGaussian fit of an image in a background thread.
Definition at line 47 of file Gaussian2DFitter.h.
casa::Gaussian2DFitter::Gaussian2DFitter | ( | ) |
|
virtual |
|
private |
QString casa::Gaussian2DFitter::getErrorMessage | ( | ) | const |
QString casa::Gaussian2DFitter::getLogFilePath | ( | ) | const |
QString casa::Gaussian2DFitter::getResidualImagePath | ( | ) | const |
bool casa::Gaussian2DFitter::isFitSuccessful | ( | ) | const |
|
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 |
|
private |
Definition at line 76 of file Gaussian2DFitter.h.
|
private |
Definition at line 67 of file Gaussian2DFitter.h.
|
private |
Definition at line 77 of file Gaussian2DFitter.h.
|
private |
Definition at line 73 of file Gaussian2DFitter.h.
|
private |
Definition at line 75 of file Gaussian2DFitter.h.
|
private |
Definition at line 70 of file Gaussian2DFitter.h.
|
private |
Definition at line 71 of file Gaussian2DFitter.h.
|
private |
Definition at line 72 of file Gaussian2DFitter.h.
|
private |
Definition at line 79 of file Gaussian2DFitter.h.
|
private |
Definition at line 69 of file Gaussian2DFitter.h.
|
private |
Definition at line 74 of file Gaussian2DFitter.h.
|
private |
Definition at line 80 of file Gaussian2DFitter.h.
|
private |
Definition at line 78 of file Gaussian2DFitter.h.
|
private |
Definition at line 68 of file Gaussian2DFitter.h.