casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
casa::LFExamineFlags Class Reference

#include <LFExamineFlags.h>

Inheritance diagram for casa::LFExamineFlags:
casa::LFBase casa::LFDisplayFlags casa::LFExtendFlags

List of all members.

Public Member Functions

 LFExamineFlags ()
 default constructor
virtual ~LFExamineFlags ()
 default destructor
virtual String methodName ()
 Return method name.
virtual Bool setParameters (Record &parameters)
 Set autoflag params.
virtual Record getParameters ()
 Get default autoflag params.
virtual Bool runMethod (const VisBuffer &inVb, Cube< Float > &inVisc, Cube< Bool > &inFlagc, Cube< Bool > &inPreFlagc, uInt numT, uInt numAnt, uInt numB, uInt numC, uInt numP)
 Run the algorithm.
virtual Record getStatistics ()

Protected Member Functions

void ReadMSInfo (const VisBuffer &vb)
void AccumulateStats (const VisBuffer &vb)

Protected Attributes

Record allflagcounts
 Additional private members.
Vector< Stringantnames_p
Vector< Stringcorrlist_p
Vector< Stringfieldnames_p
Vector< Doublefreqlist_p
 Vector<xxx> spwlist_p;.
Vector< Floatchan_count
 Counters per chunk.
Vector< Floatbaseline_count
Vector< Floatcorr_count
Vector< Floatchan_flags
Vector< Floatbaseline_flags
Vector< Floatcorr_flags
Float chunk_count
Float chunk_flags
std::map< std::string,
std::map< std::string, float > > 
allflags
 Counters across chunks (can be different shapes Statistics per antenna, baseline, spw, etc.
std::map< std::string,
std::map< std::string, float > > 
allcounts
uInt a1
uInt a2

Detailed Description

Definition at line 34 of file LFExamineFlags.h.


Constructor & Destructor Documentation

default constructor

default destructor


Member Function Documentation

void casa::LFExamineFlags::AccumulateStats ( const VisBuffer vb) [protected]

Get default autoflag params.

Reimplemented from casa::LFBase.

Reimplemented in casa::LFDisplayFlags, and casa::LFExtendFlags.

virtual String casa::LFExamineFlags::methodName ( ) [inline, virtual]

Return method name.

Implements casa::LFBase.

Reimplemented in casa::LFDisplayFlags, and casa::LFExtendFlags.

Definition at line 44 of file LFExamineFlags.h.

References String.

void casa::LFExamineFlags::ReadMSInfo ( const VisBuffer vb) [protected]
virtual Bool casa::LFExamineFlags::runMethod ( const VisBuffer inVb,
Cube< Float > &  inVisc,
Cube< Bool > &  inFlagc,
Cube< Bool > &  inPreFlagc,
uInt  numT,
uInt  numAnt,
uInt  numB,
uInt  numC,
uInt  numP 
) [virtual]

Run the algorithm.

Reimplemented from casa::LFBase.

Reimplemented in casa::LFDisplayFlags, and casa::LFExtendFlags.

virtual Bool casa::LFExamineFlags::setParameters ( Record parameters) [virtual]

Set autoflag params.

Reimplemented from casa::LFBase.

Reimplemented in casa::LFDisplayFlags, and casa::LFExtendFlags.


Member Data Documentation

Reimplemented in casa::LFDisplayFlags.

Definition at line 90 of file LFExamineFlags.h.

Reimplemented in casa::LFDisplayFlags.

Definition at line 90 of file LFExamineFlags.h.

std::map<std::string, std::map<std::string, float> > casa::LFExamineFlags::allcounts [protected]

Definition at line 88 of file LFExamineFlags.h.

Additional private members.

Definition at line 66 of file LFExamineFlags.h.

std::map<std::string, std::map<std::string, float> > casa::LFExamineFlags::allflags [protected]

Counters across chunks (can be different shapes Statistics per antenna, baseline, spw, etc.

These maps of maps is used e.g. like:

   accumflags["baseline"]["2&&7"] == 42
   accumflags["spw"     ]["0"   ] == 17

which means that there were 42 flags on baseline 2 - 7, etc.

Definition at line 87 of file LFExamineFlags.h.

Definition at line 67 of file LFExamineFlags.h.

Definition at line 75 of file LFExamineFlags.h.

Definition at line 76 of file LFExamineFlags.h.

Counters per chunk.

Definition at line 75 of file LFExamineFlags.h.

Definition at line 76 of file LFExamineFlags.h.

Definition at line 77 of file LFExamineFlags.h.

Definition at line 77 of file LFExamineFlags.h.

Definition at line 75 of file LFExamineFlags.h.

Definition at line 76 of file LFExamineFlags.h.

Definition at line 68 of file LFExamineFlags.h.

Definition at line 69 of file LFExamineFlags.h.

Vector<xxx> spwlist_p;.

Definition at line 71 of file LFExamineFlags.h.


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