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

Note: ImageMomentsProgressMonitor is an interface that provides this class with updates concerning the progress of the moment calculation task. More...

#include <MomentSettingsWidgetRadio.qo.h>

Inheritance diagram for casa::MomentCollapseThreadRadio:
casa::ImageMomentsProgressMonitor

Signals

void stepCountChanged (int count)
 
void stepsCompletedChanged (int count)
 

Public Member Functions

 MomentCollapseThreadRadio (ImageMoments< float > *imageAnalysis)
 
bool isSuccess () const
 
void setChannelStr (casacore::String str)
 
void setMomentNames (const casacore::Vector< QString > &momentNames)
 
void setOutputFileName (QString name)
 
casacore::String getErrorMessage () const
 
std::vector< CollapseResultgetResults () const
 
void setData (const casacore::Vector< int > &moments, const int axis, const casacore::Vector< casacore::String > &method, const casacore::Vector< int > &smoothaxes, const casacore::Vector< casacore::String > &smoothtypes, const casacore::Vector< casacore::Quantity > &smoothwidths, const casacore::Vector< float > &includepix, const casacore::Vector< float > &excludepix, const double peaksnr, const double stddev, const casacore::String &doppler="RADIO", const casacore::String &baseName="")
 
void run ()
 
void halt ()
 
void setStepCount (int count)
 Methods from the ImageMomentsProgressMonitor interface. More...
 
void setStepsCompleted (int count)
 
void done ()
 
 ~MomentCollapseThreadRadio ()
 
- Public Member Functions inherited from casa::ImageMomentsProgressMonitor
virtual ~ImageMomentsProgressMonitor ()
 

Private Member Functions

bool getOutputFileName (casacore::String &outName, int moment, const casacore::String &channelStr) const
 

Private Attributes

ImageMoments< float > * analysis
 
casacore::Vector< int > moments
 
casacore::Vector< QString > momentNames
 
int axis
 
casacore::String channelStr
 
casacore::Vector
< casacore::String
method
 
casacore::Vector< int > smoothaxes
 
casacore::Vector
< casacore::String
smoothtypes
 
casacore::Vector
< casacore::Quantity
smoothwidths
 
casacore::Vector< float > includepix
 
casacore::Vector< float > excludepix
 
double peaksnr
 
double stddev
 
casacore::String doppler
 
casacore::String baseName
 
QString outputFileName
 
int stepSize
 
std::vector< CollapseResultcollapseResults
 
casacore::String errorMsg
 
bool collapseError
 
bool stopImmediately
 

Detailed Description

Note: ImageMomentsProgressMonitor is an interface that provides this class with updates concerning the progress of the moment calculation task.

Responsible for running the collapse algorithm in the background so that we don't freeze the GUI.

Definition at line 80 of file MomentSettingsWidgetRadio.qo.h.

Constructor & Destructor Documentation

casa::MomentCollapseThreadRadio::MomentCollapseThreadRadio ( ImageMoments< float > *  imageAnalysis)
casa::MomentCollapseThreadRadio::~MomentCollapseThreadRadio ( )

Member Function Documentation

void casa::MomentCollapseThreadRadio::done ( )
virtual
casacore::String casa::MomentCollapseThreadRadio::getErrorMessage ( ) const
bool casa::MomentCollapseThreadRadio::getOutputFileName ( casacore::String outName,
int  moment,
const casacore::String channelStr 
) const
private
std::vector<CollapseResult> casa::MomentCollapseThreadRadio::getResults ( ) const
void casa::MomentCollapseThreadRadio::halt ( )
bool casa::MomentCollapseThreadRadio::isSuccess ( ) const
void casa::MomentCollapseThreadRadio::run ( )
void casa::MomentCollapseThreadRadio::setChannelStr ( casacore::String  str)
void casa::MomentCollapseThreadRadio::setData ( const casacore::Vector< int > &  moments,
const int  axis,
const casacore::Vector< casacore::String > &  method,
const casacore::Vector< int > &  smoothaxes,
const casacore::Vector< casacore::String > &  smoothtypes,
const casacore::Vector< casacore::Quantity > &  smoothwidths,
const casacore::Vector< float > &  includepix,
const casacore::Vector< float > &  excludepix,
const double  peaksnr,
const double  stddev,
const casacore::String doppler = "RADIO",
const casacore::String baseName = "" 
)
void casa::MomentCollapseThreadRadio::setMomentNames ( const casacore::Vector< QString > &  momentNames)
void casa::MomentCollapseThreadRadio::setOutputFileName ( QString  name)
void casa::MomentCollapseThreadRadio::setStepCount ( int  count)
virtual

Methods from the ImageMomentsProgressMonitor interface.

Implements casa::ImageMomentsProgressMonitor.

void casa::MomentCollapseThreadRadio::setStepsCompleted ( int  count)
virtual
void casa::MomentCollapseThreadRadio::stepCountChanged ( int  count)
signal
void casa::MomentCollapseThreadRadio::stepsCompletedChanged ( int  count)
signal

Member Data Documentation

ImageMoments<float>* casa::MomentCollapseThreadRadio::analysis
private

Definition at line 114 of file MomentSettingsWidgetRadio.qo.h.

int casa::MomentCollapseThreadRadio::axis
private

Definition at line 117 of file MomentSettingsWidgetRadio.qo.h.

casacore::String casa::MomentCollapseThreadRadio::baseName
private

Definition at line 128 of file MomentSettingsWidgetRadio.qo.h.

casacore::String casa::MomentCollapseThreadRadio::channelStr
private

Definition at line 118 of file MomentSettingsWidgetRadio.qo.h.

bool casa::MomentCollapseThreadRadio::collapseError
private

Definition at line 133 of file MomentSettingsWidgetRadio.qo.h.

std::vector<CollapseResult> casa::MomentCollapseThreadRadio::collapseResults
private

Definition at line 131 of file MomentSettingsWidgetRadio.qo.h.

casacore::String casa::MomentCollapseThreadRadio::doppler
private

Definition at line 127 of file MomentSettingsWidgetRadio.qo.h.

casacore::String casa::MomentCollapseThreadRadio::errorMsg
private

Definition at line 132 of file MomentSettingsWidgetRadio.qo.h.

casacore::Vector<float> casa::MomentCollapseThreadRadio::excludepix
private

Definition at line 124 of file MomentSettingsWidgetRadio.qo.h.

casacore::Vector<float> casa::MomentCollapseThreadRadio::includepix
private

Definition at line 123 of file MomentSettingsWidgetRadio.qo.h.

casacore::Vector<casacore::String> casa::MomentCollapseThreadRadio::method
private

Definition at line 119 of file MomentSettingsWidgetRadio.qo.h.

casacore::Vector<QString> casa::MomentCollapseThreadRadio::momentNames
private

Definition at line 116 of file MomentSettingsWidgetRadio.qo.h.

casacore::Vector<int> casa::MomentCollapseThreadRadio::moments
private

Definition at line 115 of file MomentSettingsWidgetRadio.qo.h.

QString casa::MomentCollapseThreadRadio::outputFileName
private

Definition at line 129 of file MomentSettingsWidgetRadio.qo.h.

double casa::MomentCollapseThreadRadio::peaksnr
private

Definition at line 125 of file MomentSettingsWidgetRadio.qo.h.

casacore::Vector<int> casa::MomentCollapseThreadRadio::smoothaxes
private

Definition at line 120 of file MomentSettingsWidgetRadio.qo.h.

casacore::Vector<casacore::String> casa::MomentCollapseThreadRadio::smoothtypes
private

Definition at line 121 of file MomentSettingsWidgetRadio.qo.h.

casacore::Vector<casacore::Quantity> casa::MomentCollapseThreadRadio::smoothwidths
private

Definition at line 122 of file MomentSettingsWidgetRadio.qo.h.

double casa::MomentCollapseThreadRadio::stddev
private

Definition at line 126 of file MomentSettingsWidgetRadio.qo.h.

int casa::MomentCollapseThreadRadio::stepSize
private

Definition at line 130 of file MomentSettingsWidgetRadio.qo.h.

bool casa::MomentCollapseThreadRadio::stopImmediately
private

Definition at line 134 of file MomentSettingsWidgetRadio.qo.h.


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