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

Note: ProfileTaskFacilitator abstracts out some of the common functionality needed for calculating moments and spectral line fitting into a single base class. More...

#include <MomentSettingsWidgetRadio.qo.h>

Inheritance diagram for casa::MomentSettingsWidgetRadio:
casa::ProfileTaskFacilitator

Signals

void updateProgress (int)
 
void momentsFinished ()
 

Public Member Functions

 MomentSettingsWidgetRadio (QWidget *parent=0)
 
void setUnits (QString units)
 
void setRange (double min, double max)
 
void reset ()
 
 ~MomentSettingsWidgetRadio ()
 
- Public Member Functions inherited from casa::ProfileTaskFacilitator
 ProfileTaskFacilitator ()
 
virtual ~ProfileTaskFacilitator ()
 
virtual void setCanvas (QtCanvas *pixelCanvas)
 
virtual void setTaskMonitor (ProfileTaskMonitor *monitor)
 
virtual void setCurveName (const QString &curveName)
 
virtual void addCurveName (const QString &curveName)
 
virtual void setDisplayYUnits (const QString &units)
 
virtual void setImageYUnits (const QString &units)
 
virtual void setLogger (casacore::LogIO *log)
 
virtual void plotMainCurve ()
 
virtual QString getFileName ()
 
virtual void logWarning (casacore::String msg, bool opticalSource=false)
 
virtual void postStatus (casacore::String status, bool opticalSource=false)
 
virtual casacore::Vector
< casacore::Float
getXValues () const
 
virtual casacore::Vector
< casacore::Float
getYValues () const
 
virtual casacore::Vector
< casacore::Float
getZValues () const
 
virtual casacore::Vector
< casacore::Double
getRegionXValues () const
 
virtual casacore::Vector
< casacore::Double
getRegionYValues () const
 
virtual QString getYUnit () const
 
virtual QString getYUnitPrefix () const
 
virtual casacore::String getXAxisUnit () const
 
virtual const std::shared_ptr
< const
casacore::ImageInterface
< casacore::Float > > 
getImage (const QString &name="") const
 
virtual const casacore::String getPixelBox () const
 
virtual const casacore::String getRegionShape () const
 
bool isOptical ()
 
void setOptical (bool optical)
 
virtual void clear ()
 
void setCollapseVals (const casacore::Vector< casacore::Float > &spcVals)
 
virtual void pixelsChanged (int pixX, int pixY)
 

Private Types

enum  SummationIndex {
  MEAN,
  INTEGRATED,
  WEIGHTED_MEAN,
  DISPERSION,
  MEDIAN,
  MEDIAN_VELOCITY,
  STDDEV,
  RMS,
  ABS_MEAN_DEV,
  MAX,
  MAX_VELOCITY,
  MIN,
  MIN_VELOCITY,
  END_INDEX
}
 

Private Slots

void setStepCount (int count)
 
void setStepsCompleted (int count)
 
void thresholdingChanged ()
 
void thresholdSpecified ()
 
void adjustTableRows (int count)
 
void collapseImage ()
 
void setCollapsedImageFile ()
 
void collapseDone ()
 
void graphicalThreshold ()
 
void symmetricThresholdChanged (int checkedState)
 
void thresholdTextChanged (const QString &text)
 
void stopMoments ()
 

Private Member Functions

void _initAnalysis ()
 
casacore::Record _makeRegionRecord ()
 
void setTableValue (int row, int col, float val)
 
void getChannelMinMax (int channelIndex, QString &minStr, QString &maxStr) const
 
void convertChannelRanges (const QString &oldUnits, const QString &newUnits)
 
void convertChannelValue (const QString &channelStr, const QString &channelIdentifier, Converter *converter, int row, int col, bool toPixels, casacore::SpectralCoordinate &coord)
 
casacore::String makeChannelInterval (float startChannelIndex, float endChannelIndex) const
 
casacore::Vector< int > populateMoments (casacore::Vector< QString > &momentNames)
 
casacore::Vector
< casacore::String
populateMethod () const
 
casacore::String populateChannels (casacore::uInt *nSelectedChannels, bool *channelOK)
 
bool populateThresholds (casacore::Vector< float > &includeThreshold, casacore::Vector< float > &excludeThreshold)
 
bool populateThreshold (casacore::Vector< float > &threshold)
 

Private Attributes

QMap< SummationIndex, int > momentMap
 
Ui::MomentSettingsWidgetRadio ui
 
ImageMoments< float > * imageAnalysis
 
MomentCollapseThreadRadiocollapseThread
 
ThresholdingBinPlotDialogthresholdingBinDialog
 
QString outputFileName
 
QList< QString > momentOptions
 
QProgressDialog progressBar
 
QString m_units
 
int momentCount
 Progress Monitor functionality. More...
 
int cycleCount
 
int baseIncrement
 
int previousCount
 

Additional Inherited Members

- Protected Member Functions inherited from casa::ProfileTaskFacilitator
bool isValidChannelRangeValue (QString str, const QString &endStr)
 
void findChannelRange (float startVal, float endVal, const casacore::Vector< casacore::Float > &specValues, casacore::Int &channelStartIndex, casacore::Int &channelEndIndex)
 
- Protected Attributes inherited from casa::ProfileTaskFacilitator
QtCanvaspixelCanvas
 
ProfileTaskMonitortaskMonitor
 
casacore::LogIOlogger
 

Detailed Description

Note: ProfileTaskFacilitator abstracts out some of the common functionality needed for calculating moments and spectral line fitting into a single base class.

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

Member Enumeration Documentation

Enumerator
MEAN 
INTEGRATED 
WEIGHTED_MEAN 
DISPERSION 
MEDIAN 
MEDIAN_VELOCITY 
STDDEV 
RMS 
ABS_MEAN_DEV 
MAX 
MAX_VELOCITY 
MIN 
MIN_VELOCITY 
END_INDEX 

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

Constructor & Destructor Documentation

casa::MomentSettingsWidgetRadio::MomentSettingsWidgetRadio ( QWidget *  parent = 0)
casa::MomentSettingsWidgetRadio::~MomentSettingsWidgetRadio ( )

Member Function Documentation

void casa::MomentSettingsWidgetRadio::_initAnalysis ( )
private
casacore::Record casa::MomentSettingsWidgetRadio::_makeRegionRecord ( )
private
void casa::MomentSettingsWidgetRadio::adjustTableRows ( int  count)
privateslot
void casa::MomentSettingsWidgetRadio::collapseDone ( )
privateslot
void casa::MomentSettingsWidgetRadio::collapseImage ( )
privateslot
void casa::MomentSettingsWidgetRadio::convertChannelRanges ( const QString &  oldUnits,
const QString &  newUnits 
)
private
void casa::MomentSettingsWidgetRadio::convertChannelValue ( const QString &  channelStr,
const QString &  channelIdentifier,
Converter converter,
int  row,
int  col,
bool  toPixels,
casacore::SpectralCoordinate coord 
)
private
void casa::MomentSettingsWidgetRadio::getChannelMinMax ( int  channelIndex,
QString &  minStr,
QString &  maxStr 
) const
private
void casa::MomentSettingsWidgetRadio::graphicalThreshold ( )
privateslot
casacore::String casa::MomentSettingsWidgetRadio::makeChannelInterval ( float  startChannelIndex,
float  endChannelIndex 
) const
private
void casa::MomentSettingsWidgetRadio::momentsFinished ( )
signal
casacore::String casa::MomentSettingsWidgetRadio::populateChannels ( casacore::uInt nSelectedChannels,
bool *  channelOK 
)
private
casacore::Vector<casacore::String> casa::MomentSettingsWidgetRadio::populateMethod ( ) const
private
casacore::Vector<int> casa::MomentSettingsWidgetRadio::populateMoments ( casacore::Vector< QString > &  momentNames)
private
bool casa::MomentSettingsWidgetRadio::populateThreshold ( casacore::Vector< float > &  threshold)
private
bool casa::MomentSettingsWidgetRadio::populateThresholds ( casacore::Vector< float > &  includeThreshold,
casacore::Vector< float > &  excludeThreshold 
)
private
void casa::MomentSettingsWidgetRadio::reset ( )
virtual
void casa::MomentSettingsWidgetRadio::setCollapsedImageFile ( )
privateslot
void casa::MomentSettingsWidgetRadio::setRange ( double  min,
double  max 
)
virtual
void casa::MomentSettingsWidgetRadio::setStepCount ( int  count)
privateslot
void casa::MomentSettingsWidgetRadio::setStepsCompleted ( int  count)
privateslot
void casa::MomentSettingsWidgetRadio::setTableValue ( int  row,
int  col,
float  val 
)
private
void casa::MomentSettingsWidgetRadio::setUnits ( QString  units)
virtual
void casa::MomentSettingsWidgetRadio::stopMoments ( )
privateslot
void casa::MomentSettingsWidgetRadio::symmetricThresholdChanged ( int  checkedState)
privateslot
void casa::MomentSettingsWidgetRadio::thresholdingChanged ( )
privateslot
void casa::MomentSettingsWidgetRadio::thresholdSpecified ( )
privateslot
void casa::MomentSettingsWidgetRadio::thresholdTextChanged ( const QString &  text)
privateslot
void casa::MomentSettingsWidgetRadio::updateProgress ( int  )
signal

Member Data Documentation

int casa::MomentSettingsWidgetRadio::baseIncrement
private

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

MomentCollapseThreadRadio* casa::MomentSettingsWidgetRadio::collapseThread
private

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

int casa::MomentSettingsWidgetRadio::cycleCount
private

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

ImageMoments<float>* casa::MomentSettingsWidgetRadio::imageAnalysis
private

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

QString casa::MomentSettingsWidgetRadio::m_units
private

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

int casa::MomentSettingsWidgetRadio::momentCount
private

Progress Monitor functionality.

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

QMap<SummationIndex, int> casa::MomentSettingsWidgetRadio::momentMap
private

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

QList<QString> casa::MomentSettingsWidgetRadio::momentOptions
private

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

QString casa::MomentSettingsWidgetRadio::outputFileName
private

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

int casa::MomentSettingsWidgetRadio::previousCount
private

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

QProgressDialog casa::MomentSettingsWidgetRadio::progressBar
private

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

ThresholdingBinPlotDialog* casa::MomentSettingsWidgetRadio::thresholdingBinDialog
private

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

Ui::MomentSettingsWidgetRadio casa::MomentSettingsWidgetRadio::ui
private

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


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