26 #ifndef GAUSSIAN2DFITTER_H_
27 #define GAUSSIAN2DFITTER_H_
37 template <
class T>
class ImageInterface;
71 std::shared_ptr<const casacore::ImageInterface<casacore::Float> >
image;
72 std::shared_ptr<std::pair<casacore::Float, casacore::Float> >
includePixs;
73 std::shared_ptr<std::pair<casacore::Float, casacore::Float> >
excludePixs;
QString getResidualImagePath() const
const QString REGION_SUFFIX
void setFilePath(casacore::String path)
void setWriteLogFile(bool write)
casacore::String residualImageFile
bool isFitSuccessful() const
casacore::String estimateFile
QList< RegionShape * > toDrawingDisplay(const std::shared_ptr< const casacore::ImageInterface< casacore::Float > > image, const QString &colorName) const
Provides convenient accessors and functionality for a ComponentList.
Performs a 2DGaussian fit of an image in a background thread.
std::shared_ptr< const casacore::ImageInterface< casacore::Float > > image
bool write(const std::vector< RegionShape * > &shapes) const
Implements RegionFileWriter::write.
std::string path(const std::string &name)
virtual ~Gaussian2DFitter()
Gaussian2DFitter operator=(const Gaussian2DFitter &other)
casacore::String pixelBox
ComponentListWrapper fitResultList
QString getLogFilePath() const
bool writeRegionFile() const
casacore::String filePath
QString getErrorMessage() const
String: the storage and methods of handling collections of characters.
std::shared_ptr< std::pair< casacore::Float, casacore::Float > > excludePixs
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)
std::shared_ptr< std::pair< casacore::Float, casacore::Float > > includePixs
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.