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

#include <LFTimeFreqCrop.h>

Inheritance diagram for casa::LFTimeFreqCrop:
casa::LFBase

List of all members.

Public Member Functions

 LFTimeFreqCrop ()
 default constructor
 ~LFTimeFreqCrop ()
 default destructor
String methodName ()
 Return method name.
Bool setParameters (Record &parameters)
 Set autoflag params.
Record getParameters ()
 Get default autoflag params.
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.
Bool getMonitorSpectrum (Vector< Float > &monspec, uInt pl, uInt bs)
 Extract a diagnostic spectrum vector.

Private Member Functions

Float UMean (Vector< Float > vect, Vector< Bool > flag)
 TFCROP functions.
Float calcVar (Vector< Float > vect, Vector< Bool > flag, Vector< Float > fit)
Float UStd (Vector< Float > vect, Vector< Bool > flag, Vector< Float > fit)
Float UStd (Vector< Float > vect, Vector< Bool > flag, Float mean)
void FitPiecewisePoly (Vector< Float > data, Vector< Bool > flag, Vector< Float > fit)
void PolyFit (Vector< Float > data, Vector< Bool > flag, Vector< Float > fit, uInt lim1, uInt lim2, uInt deg)
void LineFit (Vector< Float > data, Vector< Bool > flag, Vector< Float > fit, uInt lim1, uInt lim2)
void AllocateMemory ()
 void Ants(uInt bs, uInt *a1, uInt *a2); uInt BaselineIndex(uInt row, uInt a1, uInt a2);
void FitBaseAndFlag (uInt pl, uInt bs, String fittype, String direction, Cube< Float > &cleanArr)

Private Attributes

Double ANT_TOL
 void FlagDeviationsFromBase(uInt pl, uInt bs, String direction, Cube<Float> &cleanArr);
Double BASELN_TOL
Double T_TOL
Double F_TOL
Int CorrChoice
Int NumTime
Int MaxNPieces
Int halfWin_p
Int MaxDeg
String Expr
String Column
Vector< IntintSelCorr
String timeFitType_p
String freqFitType_p
String flagDimension_p
String winStats_p
Cube< FloatmeanBP
 Shapes per chunk.
Cube< FloatcleanBP
Cube< FloatcleanTS
Vector< FloattempBP
Vector< FloattempTS
Vector< BoolflagBP
Vector< BoolflagTS
Vector< FloatfitBP
Vector< FloatfitTS
Vector< Intant1
Vector< Intant2

Detailed Description

Definition at line 34 of file LFTimeFreqCrop.h.


Constructor & Destructor Documentation

default constructor

default destructor


Member Function Documentation

Float casa::LFTimeFreqCrop::calcVar ( Vector< Float vect,
Vector< Bool flag,
Vector< Float fit 
) [private]
void casa::LFTimeFreqCrop::FitBaseAndFlag ( uInt  pl,
uInt  bs,
String  fittype,
String  direction,
Cube< Float > &  cleanArr 
) [private]
void casa::LFTimeFreqCrop::FitPiecewisePoly ( Vector< Float data,
Vector< Bool flag,
Vector< Float fit 
) [private]

Extract a diagnostic spectrum vector.

Reimplemented from casa::LFBase.

Get default autoflag params.

Reimplemented from casa::LFBase.

void casa::LFTimeFreqCrop::LineFit ( Vector< Float data,
Vector< Bool flag,
Vector< Float fit,
uInt  lim1,
uInt  lim2 
) [private]

Return method name.

Implements casa::LFBase.

Definition at line 43 of file LFTimeFreqCrop.h.

References String.

void casa::LFTimeFreqCrop::PolyFit ( Vector< Float data,
Vector< Bool flag,
Vector< Float fit,
uInt  lim1,
uInt  lim2,
uInt  deg 
) [private]
Bool casa::LFTimeFreqCrop::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.

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

Set autoflag params.

Reimplemented from casa::LFBase.

Float casa::LFTimeFreqCrop::UMean ( Vector< Float vect,
Vector< Bool flag 
) [private]

TFCROP functions.

Float casa::LFTimeFreqCrop::UStd ( Vector< Float vect,
Vector< Bool flag,
Vector< Float fit 
) [private]
Float casa::LFTimeFreqCrop::UStd ( Vector< Float vect,
Vector< Bool flag,
Float  mean 
) [private]

Member Data Documentation

Definition at line 112 of file LFTimeFreqCrop.h.

Definition at line 112 of file LFTimeFreqCrop.h.

void FlagDeviationsFromBase(uInt pl, uInt bs, String direction, Cube<Float> &cleanArr);

void FlagTimeSeries(uInt pl, uInt bs, String fittype);

    Input parameters  

Definition at line 88 of file LFTimeFreqCrop.h.

Definition at line 88 of file LFTimeFreqCrop.h.

Definition at line 103 of file LFTimeFreqCrop.h.

Definition at line 104 of file LFTimeFreqCrop.h.

Definition at line 90 of file LFTimeFreqCrop.h.

Definition at line 89 of file LFTimeFreqCrop.h.

Definition at line 90 of file LFTimeFreqCrop.h.

Definition at line 88 of file LFTimeFreqCrop.h.

Definition at line 110 of file LFTimeFreqCrop.h.

Definition at line 111 of file LFTimeFreqCrop.h.

Definition at line 108 of file LFTimeFreqCrop.h.

Definition at line 93 of file LFTimeFreqCrop.h.

Definition at line 109 of file LFTimeFreqCrop.h.

Definition at line 93 of file LFTimeFreqCrop.h.

Definition at line 89 of file LFTimeFreqCrop.h.

Definition at line 91 of file LFTimeFreqCrop.h.

Definition at line 89 of file LFTimeFreqCrop.h.

Definition at line 89 of file LFTimeFreqCrop.h.

Shapes per chunk.

uInt Nrow; // Number of rows in current chunk

uInt Ncorr; // Number of correlations IPosition VisCubeShp;

Definition at line 102 of file LFTimeFreqCrop.h.

Definition at line 89 of file LFTimeFreqCrop.h.

Definition at line 88 of file LFTimeFreqCrop.h.

Definition at line 106 of file LFTimeFreqCrop.h.

Definition at line 107 of file LFTimeFreqCrop.h.

Definition at line 93 of file LFTimeFreqCrop.h.

Definition at line 93 of file LFTimeFreqCrop.h.


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