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. | |
| bool | processorTable () |
| Get the MS PROCESSOR sub-table. | |
| Cube< Complex > & | weightVisCube () |
| Get a Float visCube and return a Complex one. | |
Public Attributes | |
| Cube< Complex > | weight_spectrum_p |
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 * | preAveragingVI_p |
| RO Visibility Iterator. | |
| vi::VisibilityIterator2 * | visibilityIterator_p |
| vi::FrequencySelectionUsingChannels * | channelSelector_p |
Flag Data Handler class definition.
Definition at line 32 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.
| casa::FlagMSHandler::~FlagMSHandler | ( | ) |
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::processorTable | ( | ) |
Get the MS PROCESSOR sub-table.
| 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.
| Cube<Complex>& casa::FlagMSHandler::weightVisCube | ( | ) |
Get a Float visCube and return a Complex one.
Reimplemented from casa::FlagDataHandler.
Definition at line 106 of file FlagMSHandler.h.
MeasurementSet* casa::FlagMSHandler::originalMeasurementSet_p [private] |
Definition at line 101 of file FlagMSHandler.h.
RO Visibility Iterator.
Definition at line 104 of file FlagMSHandler.h.
MeasurementSet* casa::FlagMSHandler::selectedMeasurementSet_p [private] |
Measurement set section.
Definition at line 100 of file FlagMSHandler.h.
Definition at line 105 of file FlagMSHandler.h.
| Cube<Complex> casa::FlagMSHandler::weight_spectrum_p |
Reimplemented from casa::FlagDataHandler.
Definition at line 84 of file FlagMSHandler.h.
1.6.1