casa
$Rev:20696$
|
This class is a single dish spectral data analysis tool. More...
#include <MSAnalysis.h>
Public Member Functions | |
MSAnalysis (const casa::MeasurementSet *inMS) | |
Constructor. | |
virtual | ~MSAnalysis () |
Destructor. | |
MeasurementSet * | moments (const Vector< Int > &whichmoments, const String &antenna, const String &field, const String &spw, const Vector< String > &method, const Vector< Int > &smoothAxes, const Vector< String > &kernels, const Vector< Quantity > &kernelWidths, const Vector< Float > &includemask, const Vector< Float > &excludemask, const Double peaksnr, const Double stddev, const String &velocityType, const String &out, const String &smoothOut, const Bool overwrite) |
moment calculation | |
Private Member Functions | |
void | setMS (casa::MeasurementSet *inMS) |
Set other data. | |
void | setMS (const casa::String name) |
void | selectMS (const String antenna, const String field, const String spw) |
Select data from input MS. | |
void | cleanup () |
Clean up temporary files. | |
void | init (const casa::MeasurementSet *inMS) |
Initialization. | |
void | addHistory (String tableName, String suffix) |
Add comments on HISTORY table. | |
Private Attributes | |
MeasurementSet * | ms_p |
MeasurementSet data (should have FLOAT_DATA column) | |
String | tableName_ |
Selected Table name. | |
String | tableIn_ |
Original Table name. | |
LogIO * | itsLog |
Logger. |
This class is a single dish spectral data analysis tool.
Public interface
This class is a single dish spectral data analysis tool.
MSAnalysis is a single dish spectral data analysis tool. Input data should be in the form of MeasurementSet with FLOAT_DATA column (autocorrelation data).
Definition at line 59 of file MSAnalysis.h.
casa::MSAnalysis::MSAnalysis | ( | const casa::MeasurementSet * | inMS | ) |
Constructor.
virtual casa::MSAnalysis::~MSAnalysis | ( | ) | [virtual] |
Destructor.
void casa::MSAnalysis::addHistory | ( | String | tableName, |
String | suffix | ||
) | [private] |
Add comments on HISTORY table.
void casa::MSAnalysis::cleanup | ( | ) | [private] |
Clean up temporary files.
void casa::MSAnalysis::init | ( | const casa::MeasurementSet * | inMS | ) | [private] |
Initialization.
MeasurementSet* casa::MSAnalysis::moments | ( | const Vector< Int > & | whichmoments, |
const String & | antenna, | ||
const String & | field, | ||
const String & | spw, | ||
const Vector< String > & | method, | ||
const Vector< Int > & | smoothAxes, | ||
const Vector< String > & | kernels, | ||
const Vector< Quantity > & | kernelWidths, | ||
const Vector< Float > & | includemask, | ||
const Vector< Float > & | excludemask, | ||
const Double | peaksnr, | ||
const Double | stddev, | ||
const String & | velocityType, | ||
const String & | out, | ||
const String & | smoothOut, | ||
const Bool | overwrite | ||
) |
void casa::MSAnalysis::selectMS | ( | const String | antenna, |
const String | field, | ||
const String | spw | ||
) | [private] |
Select data from input MS.
void casa::MSAnalysis::setMS | ( | casa::MeasurementSet * | inMS | ) | [private] |
Set other data.
void casa::MSAnalysis::setMS | ( | const casa::String | name | ) | [private] |
LogIO* casa::MSAnalysis::itsLog [private] |
Logger.
Definition at line 121 of file MSAnalysis.h.
MeasurementSet* casa::MSAnalysis::ms_p [private] |
MeasurementSet data (should have FLOAT_DATA column)
Definition at line 112 of file MSAnalysis.h.
String casa::MSAnalysis::tableIn_ [private] |
Original Table name.
Definition at line 118 of file MSAnalysis.h.
String casa::MSAnalysis::tableName_ [private] |
Selected Table name.
Definition at line 115 of file MSAnalysis.h.