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

#include <LFBase.h>

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

List of all members.

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< Floatvisc
 References to input data and flags.
Cube< Boolflagc
Cube< Boolpreflagc
Vector< BoolbaselineFlag
uInt NumT
 Shapes per chunk.
uInt NumAnt
uInt NumB
uInt NumC
uInt NumP

Detailed Description

Definition at line 49 of file LFBase.h.


Constructor & Destructor Documentation

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]

default destructor

Definition at line 56 of file LFBase.h.


Member Function Documentation

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]

Definition at line 103 of file LFBase.h.

References NumAnt.

virtual Bool casa::LFBase::getMonitorSpectrum ( Vector< Float > &  ,
uInt  ,
uInt   
) [inline, virtual]

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]
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]
uInt casa::LFBase::Self ( uInt  ant) [inline]

Definition at line 109 of file LFBase.h.

References NumAnt.

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().


Member Data Documentation

Definition at line 125 of file LFBase.h.

Referenced by setBaselineFlag().

Bool casa::LFBase::dbg [protected]

Definition at line 116 of file LFBase.h.

Definition at line 123 of file LFBase.h.

Referenced by runMethod().

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]

Shapes per chunk.

Definition at line 128 of file LFBase.h.

Referenced by LFBase(), and runMethod().

Definition at line 124 of file LFBase.h.

Referenced by runMethod().

Reference to current vb.

Definition at line 119 of file LFBase.h.

Referenced by runMethod().

References to input data and flags.

Definition at line 122 of file LFBase.h.

Referenced by runMethod().


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