casa::FlagMSHandler Class Reference

Flag Data Handler class definition. More...

#include <FlagMSHandler.h>

Inheritance diagram for casa::FlagMSHandler:
casa::FlagDataHandler

List of all members.

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::VisibilityIterator2preAveragingVI_p
 RO Visibility Iterator.
vi::VisibilityIterator2visibilityIterator_p
vi::FrequencySelectionUsingChannelschannelSelector_p

Detailed Description

Flag Data Handler class definition.

Definition at line 32 of file FlagMSHandler.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 106 of file FlagMSHandler.h.

Definition at line 101 of file FlagMSHandler.h.

RO Visibility Iterator.

Definition at line 104 of file FlagMSHandler.h.

Measurement set section.

Definition at line 100 of file FlagMSHandler.h.

Definition at line 105 of file FlagMSHandler.h.

Reimplemented from casa::FlagDataHandler.

Definition at line 84 of file FlagMSHandler.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1