casa
$Rev:20696$
|
Flag Data Handler class definition. More...
#include <FlagMSHandler.h>
Public Member Functions | |
FlagMSHandler (string msname, uShort iterationApproach=SUB_INTEGRATION, Double timeInterval=0) | |
Default constructor NOTE: Time interval 0 groups all time steps together in one chunk. | |
~FlagMSHandler () | |
Default destructor. | |
bool | open () |
Open Measurement Set. | |
bool | close () |
Close Measurement Set. | |
bool | selectData () |
Generate selected Measurement Set. | |
bool | parseExpression (MSSelection &parser) |
Parse MSSelection expression. | |
bool | generateIterator () |
Generate Visibility Iterator. | |
bool | nextChunk () |
Move to next chunk. | |
bool | nextBuffer () |
Move to next buffer. | |
bool | flushFlags () |
Write flag cube into MS. | |
String | getTableName () |
Provide table name (for flag version) | |
bool | checkIfColumnExists (String column) |
Check if a given column is available in the MS (typically for checking existence of CORRECTED_DATA. | |
bool | summarySignal () |
Signal true when a progress summary has to be printed. | |
Private Member Functions | |
virtual void | generateScanStartStopMap () |
Mapping functions. | |
void | preSweep () |
Swap MS to check what is the maximum RAM memory needed. | |
void | applyChannelSelection (vi::VisibilityIterator2 *visIter) |
Apply channel selection for asyn or normal iterator NOTE: We always have to do this, even if there is no SPW:channel selection. | |
Private Attributes | |
MeasurementSet * | selectedMeasurementSet_p |
Measurement set section. | |
MeasurementSet * | originalMeasurementSet_p |
vi::VisibilityIterator2 * | visibilityIterator_p |
RO Visibility Iterator. |
Flag Data Handler class definition.
Definition at line 31 of file FlagMSHandler.h.
casa::FlagMSHandler::FlagMSHandler | ( | string | msname, |
uShort | iterationApproach = SUB_INTEGRATION , |
||
Double | timeInterval = 0 |
||
) |
Default constructor NOTE: Time interval 0 groups all time steps together in one chunk.
Default destructor.
void casa::FlagMSHandler::applyChannelSelection | ( | vi::VisibilityIterator2 * | visIter | ) | [private] |
Apply channel selection for asyn or normal iterator NOTE: We always have to do this, even if there is no SPW:channel selection.
bool casa::FlagMSHandler::checkIfColumnExists | ( | String | column | ) | [virtual] |
Check if a given column is available in the MS (typically for checking existence of CORRECTED_DATA.
Reimplemented from casa::FlagDataHandler.
bool casa::FlagMSHandler::close | ( | ) | [virtual] |
Close Measurement Set.
Reimplemented from casa::FlagDataHandler.
bool casa::FlagMSHandler::flushFlags | ( | ) | [virtual] |
Write flag cube into MS.
Reimplemented from casa::FlagDataHandler.
bool casa::FlagMSHandler::generateIterator | ( | ) | [virtual] |
Generate Visibility Iterator.
Reimplemented from casa::FlagDataHandler.
virtual void casa::FlagMSHandler::generateScanStartStopMap | ( | ) | [private, virtual] |
Mapping functions.
Reimplemented from casa::FlagDataHandler.
String casa::FlagMSHandler::getTableName | ( | ) | [virtual] |
Provide table name (for flag version)
Reimplemented from casa::FlagDataHandler.
bool casa::FlagMSHandler::nextBuffer | ( | ) | [virtual] |
Move to next buffer.
Reimplemented from casa::FlagDataHandler.
bool casa::FlagMSHandler::nextChunk | ( | ) | [virtual] |
Move to next chunk.
Reimplemented from casa::FlagDataHandler.
bool casa::FlagMSHandler::open | ( | ) | [virtual] |
Open Measurement Set.
Reimplemented from casa::FlagDataHandler.
bool casa::FlagMSHandler::parseExpression | ( | MSSelection & | parser | ) | [virtual] |
Parse MSSelection expression.
Reimplemented from casa::FlagDataHandler.
void casa::FlagMSHandler::preSweep | ( | ) | [private] |
Swap MS to check what is the maximum RAM memory needed.
bool casa::FlagMSHandler::selectData | ( | ) | [virtual] |
Generate selected Measurement Set.
Reimplemented from casa::FlagDataHandler.
bool casa::FlagMSHandler::summarySignal | ( | ) | [virtual] |
Signal true when a progress summary has to be printed.
Reimplemented from casa::FlagDataHandler.
Definition at line 91 of file FlagMSHandler.h.
Measurement set section.
Definition at line 90 of file FlagMSHandler.h.
RO Visibility Iterator.
Definition at line 94 of file FlagMSHandler.h.