casa
$Rev:20696$
|
#include <LFExamineFlags.h>
Public Member Functions | |
LFExamineFlags () | |
default constructor | |
virtual | ~LFExamineFlags () |
default destructor | |
virtual String | methodName () |
Return method name. | |
virtual Bool | setParameters (Record ¶meters) |
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< String > | antnames_p |
Vector< String > | corrlist_p |
Vector< String > | fieldnames_p |
Vector< Double > | freqlist_p |
Vector<xxx> spwlist_p;. | |
Vector< Float > | chan_count |
Counters per chunk. | |
Vector< Float > | baseline_count |
Vector< Float > | corr_count |
Vector< Float > | chan_flags |
Vector< Float > | baseline_flags |
Vector< Float > | corr_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 |
Definition at line 34 of file LFExamineFlags.h.
default constructor
virtual casa::LFExamineFlags::~LFExamineFlags | ( | ) | [virtual] |
default destructor
void casa::LFExamineFlags::AccumulateStats | ( | const VisBuffer & | vb | ) | [protected] |
virtual Record casa::LFExamineFlags::getParameters | ( | ) | [virtual] |
Get default autoflag params.
Reimplemented from casa::LFBase.
Reimplemented in casa::LFDisplayFlags, and casa::LFExtendFlags.
virtual Record casa::LFExamineFlags::getStatistics | ( | ) | [virtual] |
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.
uInt casa::LFExamineFlags::a1 [protected] |
Reimplemented in casa::LFDisplayFlags.
Definition at line 90 of file LFExamineFlags.h.
uInt casa::LFExamineFlags::a2 [protected] |
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.
Record casa::LFExamineFlags::allflagcounts [protected] |
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.
Vector<String> casa::LFExamineFlags::antnames_p [protected] |
Definition at line 67 of file LFExamineFlags.h.
Vector<Float> casa::LFExamineFlags::baseline_count [protected] |
Definition at line 75 of file LFExamineFlags.h.
Vector<Float> casa::LFExamineFlags::baseline_flags [protected] |
Definition at line 76 of file LFExamineFlags.h.
Vector<Float> casa::LFExamineFlags::chan_count [protected] |
Counters per chunk.
Definition at line 75 of file LFExamineFlags.h.
Vector<Float> casa::LFExamineFlags::chan_flags [protected] |
Definition at line 76 of file LFExamineFlags.h.
Float casa::LFExamineFlags::chunk_count [protected] |
Definition at line 77 of file LFExamineFlags.h.
Float casa::LFExamineFlags::chunk_flags [protected] |
Definition at line 77 of file LFExamineFlags.h.
Vector<Float> casa::LFExamineFlags::corr_count [protected] |
Definition at line 75 of file LFExamineFlags.h.
Vector<Float> casa::LFExamineFlags::corr_flags [protected] |
Definition at line 76 of file LFExamineFlags.h.
Vector<String> casa::LFExamineFlags::corrlist_p [protected] |
Definition at line 68 of file LFExamineFlags.h.
Vector<String> casa::LFExamineFlags::fieldnames_p [protected] |
Definition at line 69 of file LFExamineFlags.h.
Vector<Double> casa::LFExamineFlags::freqlist_p [protected] |
Vector<xxx> spwlist_p;.
Definition at line 71 of file LFExamineFlags.h.