casa
$Rev:20696$
|
#include <LFBase.h>
Public Member Functions | |
LFBase () | |
default constructor | |
virtual | ~LFBase () |
default destructor | |
virtual String | methodName ()=0 |
Return method name. | |
virtual Bool | setParameters (Record &) |
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 Bool | getMonitorSpectrum (Vector< Float > &, uInt, uInt) |
Extract a diagnostic spectrum vector. | |
virtual Bool | setBaselineFlag (Vector< Bool > &inBaselineFlag) |
Set baselineFlags... | |
void | Ants (uInt bs, uInt *a1, uInt *a2) |
uInt | BaselineIndex (uInt, uInt a1, uInt a2) |
uInt | Self (uInt ant) |
Protected Attributes | |
Bool | dbg |
VisBuffer | vb |
Reference to current vb. | |
Cube< Float > | visc |
References to input data and flags. | |
Cube< Bool > | flagc |
Cube< Bool > | preflagc |
Vector< Bool > | baselineFlag |
uInt | NumT |
Shapes per chunk. | |
uInt | NumAnt |
uInt | NumB |
uInt | NumC |
uInt | NumP |
casa::LFBase::LFBase | ( | ) | [inline] |
default constructor
Definition at line 53 of file LFBase.h.
References getParameters(), NumAnt, NumB, NumC, NumP, NumT, and setParameters().
virtual casa::LFBase::~LFBase | ( | ) | [inline, virtual] |
void casa::LFBase::Ants | ( | uInt | bs, |
uInt * | a1, | ||
uInt * | a2 | ||
) | [inline] |
Definition at line 88 of file LFBase.h.
References NumAnt, and casa::sum().
uInt casa::LFBase::BaselineIndex | ( | uInt | , |
uInt | a1, | ||
uInt | a2 | ||
) | [inline] |
Extract a diagnostic spectrum vector.
Reimplemented in casa::LFTimeFreqCrop.
Definition at line 80 of file LFBase.h.
References casa::False.
virtual Record casa::LFBase::getParameters | ( | ) | [inline, virtual] |
Get default autoflag params.
Reimplemented in casa::LFDisplayFlags, casa::LFExamineFlags, casa::LFExtendFlags, and casa::LFTimeFreqCrop.
Definition at line 65 of file LFBase.h.
Referenced by LFBase().
virtual String casa::LFBase::methodName | ( | ) | [pure virtual] |
Return method name.
Implemented in casa::LFDisplayFlags, casa::LFExamineFlags, casa::LFExtendFlags, and casa::LFTimeFreqCrop.
virtual Bool casa::LFBase::runMethod | ( | const VisBuffer & | inVb, |
Cube< Float > & | inVisc, | ||
Cube< Bool > & | inFlagc, | ||
Cube< Bool > & | inPreFlagc, | ||
uInt | numT, | ||
uInt | numAnt, | ||
uInt | numB, | ||
uInt | numC, | ||
uInt | numP | ||
) | [inline, virtual] |
Run the algorithm.
Reimplemented in casa::LFDisplayFlags, casa::LFExamineFlags, casa::LFExtendFlags, and casa::LFTimeFreqCrop.
Definition at line 68 of file LFBase.h.
References casa::VisBuffer::assign(), casa::False, flagc, NumAnt, NumB, NumC, NumP, NumT, preflagc, casa::Cube< T >::reference(), vb, and visc.
uInt casa::LFBase::Self | ( | uInt | ant | ) | [inline] |
virtual Bool casa::LFBase::setBaselineFlag | ( | Vector< Bool > & | inBaselineFlag | ) | [inline, virtual] |
Set baselineFlags...
Definition at line 84 of file LFBase.h.
References baselineFlag, casa::False, and casa::Vector< T >::reference().
virtual Bool casa::LFBase::setParameters | ( | Record & | ) | [inline, virtual] |
Set autoflag params.
Reimplemented in casa::LFDisplayFlags, casa::LFExamineFlags, casa::LFExtendFlags, and casa::LFTimeFreqCrop.
Definition at line 62 of file LFBase.h.
References casa::False.
Referenced by LFBase().
Vector<Bool> casa::LFBase::baselineFlag [protected] |
Definition at line 125 of file LFBase.h.
Referenced by setBaselineFlag().
Bool casa::LFBase::dbg [protected] |
Cube<Bool> casa::LFBase::flagc [protected] |
Definition at line 123 of file LFBase.h.
Referenced by runMethod().
uInt casa::LFBase::NumAnt [protected] |
Definition at line 129 of file LFBase.h.
Referenced by Ants(), BaselineIndex(), LFBase(), runMethod(), and Self().
uInt casa::LFBase::NumB [protected] |
Definition at line 130 of file LFBase.h.
Referenced by LFBase(), and runMethod().
uInt casa::LFBase::NumC [protected] |
Definition at line 131 of file LFBase.h.
Referenced by LFBase(), and runMethod().
uInt casa::LFBase::NumP [protected] |
Definition at line 132 of file LFBase.h.
Referenced by LFBase(), and runMethod().
uInt casa::LFBase::NumT [protected] |
Cube<Bool> casa::LFBase::preflagc [protected] |
Definition at line 124 of file LFBase.h.
Referenced by runMethod().
VisBuffer casa::LFBase::vb [protected] |
Cube<Float> casa::LFBase::visc [protected] |
References to input data and flags.
Definition at line 122 of file LFBase.h.
Referenced by runMethod().