23 #ifndef FlagMSHandler_H_
24 #define FlagMSHandler_H_
32 class VisIterImpl2LayerFactory;
bool summarySignal()
Signal true when a progress summary has to be printed.
bool checkIfSourceModelColumnExists()
Check if SOURCE_MODEL column exists (Virtual MODEL column)
casacore::String getTableName()
Provide table name (for flag version)
vi::FrequencySelectionUsingChannels * channelSelector_p
A top level class defining the data handling interface for the flagging module.
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
void preSweep()
Swap casacore::MS to check what is the maximum RAM memory needed.
bool checkIfColumnExists(casacore::String column)
Check if a given column is available in the MS (typically for checking existence of CORRECTED_DATA...
FrequencySelectionUsingChannels()
~FlagMSHandler()
Default destructor.
Flag casacore::Data Handler class definition.
bool nextChunk()
Move to next chunk.
void applyChannelSelection(vi::VisIterImpl2LayerFactory *viFactory)
Apply channel selection for asyn or normal iterator NOTE: We always have to do this, even if there is no SPW:channel selection.
bool generateIterator()
Generate Visibility Iterator.
FlagMSHandler(string msname, casacore::uShort iterationApproach=SUB_INTEGRATION, casacore::Double timeInterval=0)
Default constructor NOTE: casacore::Time interval 0 groups all time steps together in one chunk...
casacore::Cube< casacore::Complex > weight_spectrum_p
bool selectData()
Generate selected Measurement Set.
bool nextBuffer()
Move to next buffer.
bool flushFlags()
Write flag cube into MS.
MSSelection: Class to represent a selection on an MS.
casacore::MeasurementSet * selectedMeasurementSet_p
Measurement set section.
bool parseExpression(casacore::MSSelection &parser)
Parse casacore::MSSelection expression.
vi::VisibilityIterator2 * visibilityIterator_p
casacore::Cube< casacore::Complex > & weightVisCube()
Get a casacore::Float visCube and return a casacore::Complex one.
virtual void generateScanStartStopMap()
Mapping functions.
A Table intended to hold astronomical data (a set of Measurements).
bool close()
Close Measurement Set.
String: the storage and methods of handling collections of characters.
casacore::MeasurementSet * originalMeasurementSet_p
bool open()
Open Measurement Set.
bool processorTable()
Get the casacore::MS PROCESSOR sub-table.
vi::VisibilityIterator2 * preAveragingVI_p
RO Visibility Iterator.