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

Gathers up the data from the feathering process and stores it. More...

#include <FeatherThread.h>

Inheritance diagram for casa::FeatherThread:

Public Types

enum  DataTypes {
  SD_WEIGHT,
  INT_WEIGHT,
  SD_CUT,
  INT_CUT,
  DIRTY_CUT,
  SD_ORIGINAL,
  INT_ORIGINAL,
  INT_CONVOLVED_LOW,
  INT_CONVOLVED_LOW_WEIGHTED,
  DIRTY_ORIGINAL,
  DIRTY_CONVOLVED_LOW,
  DIRTY_CONVOLVED_LOW_WEIGHTED,
  LOW_CONVOLVED_HIGH,
  LOW_CONVOLVED_HIGH_WEIGHTED,
  END_DATA
}
 

Public Member Functions

casacore::ImageInterface< float > * makeConvolvedImage (casacore::ImageInterface< float > *firstImage, casacore::ImageInterface< float > *secondImage)
 Computes First Image x Second Image. More...
 
 FeatherThread ()
 
void setImages (casacore::ImageInterface< float > *lowImage, casacore::ImageInterface< float > *highImage, casacore::ImageInterface< float > *dirtyImage)
 
void setFeatherWorker (Feather *worker)
 
void setRadial (bool radialPlot)
 
bool isSuccess () const
 
QString getErrorMessage () const
 
void setSaveOutput (bool save, const QString &outputPath="")
 
void run ()
 
 ~FeatherThread ()
 

Static Public Member Functions

static void setLogger (casacore::LogIO *logger)
 

Private Member Functions

 FeatherThread (const FeatherThread &other)
 
FeatherThread operator= (const FeatherThread &other)
 
bool collectLowHighData ()
 
bool collectLowDirtyData ()
 
bool collectConvolvedData (DataTypes original, DataTypes cut)
 
bool setWorkerImages (casacore::ImageInterface< float > *imageLow, casacore::ImageInterface< float > *imageHigh)
 

Static Private Member Functions

static
casacore::ImageInterface
< float > * 
addMissingAxes (casacore::ImageInterface< float > *firstImage)
 

Private Attributes

FeatherfeatherWorker
 
casacore::ImageInterface< float > * lowImage
 
casacore::ImageInterface< float > * highImage
 
casacore::ImageInterface< float > * dirtyImage
 
QMap< DataTypes, FeatheredDatadataMap
 
bool radial
 
bool saveOutput
 
bool fileSaved
 
bool success
 
QString saveFilePath
 
QString errorMessage
 

Static Private Attributes

static casacore::LogIOlogger
 

Friends

class FeatherManager
 

Detailed Description

Gathers up the data from the feathering process and stores it.

Definition at line 49 of file FeatherThread.h.

Member Enumeration Documentation

Enumerator
SD_WEIGHT 
INT_WEIGHT 
SD_CUT 
INT_CUT 
DIRTY_CUT 
SD_ORIGINAL 
INT_ORIGINAL 
INT_CONVOLVED_LOW 
INT_CONVOLVED_LOW_WEIGHTED 
DIRTY_ORIGINAL 
DIRTY_CONVOLVED_LOW 
DIRTY_CONVOLVED_LOW_WEIGHTED 
LOW_CONVOLVED_HIGH 
LOW_CONVOLVED_HIGH_WEIGHTED 
END_DATA 

Definition at line 61 of file FeatherThread.h.

Constructor & Destructor Documentation

casa::FeatherThread::FeatherThread ( )
casa::FeatherThread::~FeatherThread ( )
casa::FeatherThread::FeatherThread ( const FeatherThread other)
private

Member Function Documentation

static casacore::ImageInterface<float>* casa::FeatherThread::addMissingAxes ( casacore::ImageInterface< float > *  firstImage)
staticprivate
bool casa::FeatherThread::collectConvolvedData ( DataTypes  original,
DataTypes  cut 
)
private
bool casa::FeatherThread::collectLowDirtyData ( )
private
bool casa::FeatherThread::collectLowHighData ( )
private
QString casa::FeatherThread::getErrorMessage ( ) const
bool casa::FeatherThread::isSuccess ( ) const
casacore::ImageInterface<float>* casa::FeatherThread::makeConvolvedImage ( casacore::ImageInterface< float > *  firstImage,
casacore::ImageInterface< float > *  secondImage 
)

Computes First Image x Second Image.

Caller is responsible for deleting the convolved image.

FeatherThread casa::FeatherThread::operator= ( const FeatherThread other)
private
void casa::FeatherThread::run ( )
void casa::FeatherThread::setFeatherWorker ( Feather worker)
void casa::FeatherThread::setImages ( casacore::ImageInterface< float > *  lowImage,
casacore::ImageInterface< float > *  highImage,
casacore::ImageInterface< float > *  dirtyImage 
)
static void casa::FeatherThread::setLogger ( casacore::LogIO logger)
static
void casa::FeatherThread::setRadial ( bool  radialPlot)
void casa::FeatherThread::setSaveOutput ( bool  save,
const QString &  outputPath = "" 
)
bool casa::FeatherThread::setWorkerImages ( casacore::ImageInterface< float > *  imageLow,
casacore::ImageInterface< float > *  imageHigh 
)
private

Friends And Related Function Documentation

friend class FeatherManager
friend

Definition at line 51 of file FeatherThread.h.

Member Data Documentation

QMap<DataTypes, FeatheredData> casa::FeatherThread::dataMap
private

Definition at line 90 of file FeatherThread.h.

casacore::ImageInterface<float>* casa::FeatherThread::dirtyImage
private

Definition at line 87 of file FeatherThread.h.

QString casa::FeatherThread::errorMessage
private

Definition at line 97 of file FeatherThread.h.

Feather* casa::FeatherThread::featherWorker
private

Definition at line 83 of file FeatherThread.h.

bool casa::FeatherThread::fileSaved
private

Definition at line 94 of file FeatherThread.h.

casacore::ImageInterface<float>* casa::FeatherThread::highImage
private

Definition at line 86 of file FeatherThread.h.

casacore::LogIO* casa::FeatherThread::logger
staticprivate

Definition at line 84 of file FeatherThread.h.

casacore::ImageInterface<float>* casa::FeatherThread::lowImage
private

Definition at line 85 of file FeatherThread.h.

bool casa::FeatherThread::radial
private

Definition at line 92 of file FeatherThread.h.

QString casa::FeatherThread::saveFilePath
private

Definition at line 96 of file FeatherThread.h.

bool casa::FeatherThread::saveOutput
private

Definition at line 93 of file FeatherThread.h.

bool casa::FeatherThread::success
private

Definition at line 95 of file FeatherThread.h.


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