casa
5.7.0-16
|
Flag casacore::Data Handler class definition. More...
#include <FlagMSHandler.h>
Public Member Functions | |
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. More... | |
~FlagMSHandler () | |
Default destructor. More... | |
bool | open () |
Open Measurement Set. More... | |
bool | close () |
Close Measurement Set. More... | |
bool | selectData () |
Generate selected Measurement Set. More... | |
bool | parseExpression (casacore::MSSelection &parser) |
Parse casacore::MSSelection expression. More... | |
bool | generateIterator () |
Generate Visibility Iterator. More... | |
bool | nextChunk () |
Move to next chunk. More... | |
bool | nextBuffer () |
Move to next buffer. More... | |
bool | flushFlags () |
Write flag cube into MS. More... | |
casacore::String | getTableName () |
Provide table name (for flag version) More... | |
bool | checkIfColumnExists (casacore::String column) |
Check if a given column is available in the MS (typically for checking existence of CORRECTED_DATA. More... | |
bool | summarySignal () |
Signal true when a progress summary has to be printed. More... | |
bool | processorTable () |
Get the casacore::MS PROCESSOR sub-table. More... | |
bool | checkIfSourceModelColumnExists () |
Check if SOURCE_MODEL column exists (Virtual MODEL column) More... | |
casacore::Cube < casacore::Complex > & | weightVisCube () |
Get a casacore::Float visCube and return a casacore::Complex one. More... | |
Public Member Functions inherited from casa::FlagDataHandler | |
FlagDataHandler (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. More... | |
virtual | ~FlagDataHandler () |
Default destructor. More... | |
void | setIterationApproach (casacore::uShort iterationApproach) |
Set the iteration approach. More... | |
bool | setDataSelection (casacore::Record record) |
Set casacore::Data Selection parameters. More... | |
void | setTimeInterval (casacore::Double timeInterval) |
Set time interval (also known as ntime) More... | |
void | enableAsyncIO (casacore::Bool enable) |
Methods to switch on/off async i/o. More... | |
void | preLoadColumn (VisBufferComponent2 column) |
Pre-Load columns (in order to avoid parallelism problems when not using async i/o, and also to know what columns to pre-fetch in async i/o mode) More... | |
void | preFetchColumns () |
void | stopIteration () |
Stop iterating. More... | |
casacore::Cube< casacore::Bool > * | getModifiedFlagCube () |
As requested by Urvashi R.V. More... | |
casacore::Cube< casacore::Bool > * | getOriginalFlagCube () |
casacore::Vector < casacore::Bool > * | getModifiedFlagRow () |
casacore::Vector < casacore::Bool > * | getOriginalFlagRow () |
void | setMapAntennaPairs (bool activated) |
Functions to switch on/off mapping functions. More... | |
void | setMapSubIntegrations (bool activated) |
void | setMapPolarizations (bool activated) |
void | setMapAntennaPointing (bool activated) |
void | setScanStartStopMap (bool activated) |
void | setScanStartStopFlaggedMap (bool activated) |
void | setTimeAverageIter (bool activated) |
void | setChanAverageIter (casacore::Vector< casacore::Int > chanbin) |
antennaPairMap * | getAntennaPairMap () |
Accessors for the mapping functions. More... | |
subIntegrationMap * | getSubIntegrationMap () |
polarizationMap * | getPolarizationMap () |
polarizationIndexMap * | getPolarizationIndexMap () |
antennaPointingMap * | getMapAntennaPointing () |
scanStartStopMap * | getMapScanStartStop () |
lambdaMap * | getLambdaMap () |
void | setProfiling (casacore::Bool value) |
casacore::Cube < casacore::Complex > & | weightVisCube () |
Get a casacore::Float visCube and return a casacore::Complex one. More... | |
Private Member Functions | |
virtual void | generateScanStartStopMap () |
Mapping functions. More... | |
void | preSweep () |
Swap casacore::MS to check what is the maximum RAM memory needed. More... | |
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. More... | |
Private Attributes | |
casacore::MeasurementSet * | selectedMeasurementSet_p |
Measurement set section. More... | |
casacore::MeasurementSet * | originalMeasurementSet_p |
vi::VisibilityIterator2 * | preAveragingVI_p |
RO Visibility Iterator. More... | |
vi::VisibilityIterator2 * | visibilityIterator_p |
vi::FrequencySelectionUsingChannels * | channelSelector_p |
Flag casacore::Data Handler class definition.
Definition at line 36 of file FlagMSHandler.h.
casa::FlagMSHandler::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.
casa::FlagMSHandler::~FlagMSHandler | ( | ) |
Default destructor.
|
private |
Apply channel selection for asyn or normal iterator NOTE: We always have to do this, even if there is no SPW:channel selection.
|
virtual |
Check if a given column is available in the MS (typically for checking existence of CORRECTED_DATA.
Reimplemented from casa::FlagDataHandler.
|
virtual |
Check if SOURCE_MODEL column exists (Virtual MODEL column)
Reimplemented from casa::FlagDataHandler.
|
virtual |
Close Measurement Set.
Reimplemented from casa::FlagDataHandler.
|
virtual |
Write flag cube into MS.
Reimplemented from casa::FlagDataHandler.
|
virtual |
Generate Visibility Iterator.
Reimplemented from casa::FlagDataHandler.
|
privatevirtual |
Mapping functions.
Reimplemented from casa::FlagDataHandler.
|
virtual |
Provide table name (for flag version)
Reimplemented from casa::FlagDataHandler.
|
virtual |
Move to next buffer.
Reimplemented from casa::FlagDataHandler.
|
virtual |
Move to next chunk.
Reimplemented from casa::FlagDataHandler.
|
virtual |
Open Measurement Set.
Reimplemented from casa::FlagDataHandler.
|
virtual |
Parse casacore::MSSelection expression.
Reimplemented from casa::FlagDataHandler.
|
private |
Swap casacore::MS to check what is the maximum RAM memory needed.
bool casa::FlagMSHandler::processorTable | ( | ) |
Get the casacore::MS PROCESSOR sub-table.
|
virtual |
Generate selected Measurement Set.
Reimplemented from casa::FlagDataHandler.
|
virtual |
Signal true when a progress summary has to be printed.
Reimplemented from casa::FlagDataHandler.
casacore::Cube<casacore::Complex>& casa::FlagMSHandler::weightVisCube | ( | ) |
Get a casacore::Float visCube and return a casacore::Complex one.
|
private |
Definition at line 113 of file FlagMSHandler.h.
|
private |
Definition at line 108 of file FlagMSHandler.h.
|
private |
RO Visibility Iterator.
Definition at line 111 of file FlagMSHandler.h.
|
private |
Measurement set section.
Definition at line 107 of file FlagMSHandler.h.
|
private |
Definition at line 112 of file FlagMSHandler.h.
casacore::Cube<casacore::Complex> casa::FlagMSHandler::weight_spectrum_p |
Definition at line 91 of file FlagMSHandler.h.