casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
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.

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

MeasurementSetselectedMeasurementSet_p
 Measurement set section.
MeasurementSetoriginalMeasurementSet_p
vi::VisibilityIterator2visibilityIterator_p
 RO Visibility Iterator.

Detailed Description

Flag Data Handler class definition.

Definition at line 31 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.

Default destructor.


Member Function Documentation

Apply channel selection for asyn or normal iterator NOTE: We always have to do this, even if there is no SPW:channel selection.

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.

Generate Visibility Iterator.

Reimplemented from casa::FlagDataHandler.

virtual void casa::FlagMSHandler::generateScanStartStopMap ( ) [private, virtual]

Mapping functions.

Reimplemented from casa::FlagDataHandler.

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.

Signal true when a progress summary has to be printed.

Reimplemented from casa::FlagDataHandler.


Member Data Documentation

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.


The documentation for this class was generated from the following file: