28 #ifndef FLAGGING_RFATIMEFREQCROP_H
29 #define FLAGGING_RFATIMEFREQCROP_H
174 #ifndef AIPS_NO_TEMPLATE_SRC
175 #include <flagging/Flagging/RFATimeFreqCrop.tcc>
176 #endif //# AIPS_NO_TEMPLATE_SRC
A Vector of integers, for indexing into Array<T> objects.
casacore::Bool StopAndExit
casacore::Vector< casacore::Bool > baselineflags
Abstract RedFlagger Agent class with a flag cube.
casacore::Cube< casacore::Float > meanBP
casacore::Vector< casacore::Bool > rowflags
void FlagTimeSeries(casacore::uInt pl, casacore::uInt bs)
casacore::Cube< casacore::Float > visc
casacore::uInt BaselineIndex(casacore::uInt row, casacore::uInt a1, casacore::uInt a2)
void Ants(casacore::uInt bs, casacore::uInt *a1, casacore::uInt *a2)
virtual IterMode endData()
Called after a pass is completed successfully (i.e., not stopped by start or iter methods)...
casacore::Vector< casacore::Bool > fr
casacore::Cube< casacore::Bool > ff
casacore::Vector< casacore::Float > tempTS
virtual IterMode iterRow(casacore::uInt irow)
iterRow() is called once per each row in the VisBuffer.
void LineFit(casacore::Vector< casacore::Float > data, casacore::Vector< casacore::Bool > flag, casacore::Vector< casacore::Float > fit, casacore::uInt lim1, casacore::uInt lim2)
RFFlagCube flag
flag cube lattice
casacore::Float UStd(casacore::Vector< casacore::Float > vect, casacore::Vector< casacore::Bool > flag, casacore::Vector< casacore::Float > fit)
casacore::uInt iterTimecnt
casacore::uInt passcnt; casacore::uInt iterRowcnt;
casacore::String msname
casacore::uInt TimeStamps;
void PolyFit(casacore::Vector< casacore::Float > data, casacore::Vector< casacore::Bool > flag, casacore::Vector< casacore::Float > fit, casacore::uInt lim1, casacore::uInt lim2, casacore::uInt deg)
casacore::Vector< casacore::Int > ant1
virtual casacore::Bool newChunk(casacore::Int &i)
Called before iterating over a chunk.
virtual void endChunk()
Called once finished with a chunk.
casacore::Bool IgnorePreflags
casacore::IPosition cubepos
casacore::IPosition matpos
casacore::Bool FreqLineFit
casacore::uInt nPol;
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
casacore::Vector< casacore::Int > ant2
casacore::uInt MaxNPieces
casacore::Cube< casacore::Bool > chunkflags
virtual ~RFATimeFreqCrop()
casacore::Vector< casacore::String > Expr
casacore::Cube< casacore::Bool > flagc
casacore::Vector< casacore::Bool > flagTS
casacore::Cube< casacore::Float > cleanBP
VisibilityIterator & vi
casacore::uInt itime;
casacore::Cube< casacore::Complex > vc
casacore::Cube <casacore::Complex> *vv; // visCube ptr - for one timestamp
RFATimeFreqCrop : 2-Dimensional casacore::Time Frequency Autoflag agent.
static const casacore::RecordInterface & getDefaults()
bool Bool
Define the standard types used by Casacore.
casacore::Matrix< casacore::Bool > RowFlags
virtual IterMode iterTime(casacore::uInt itime)
Iteration methods for a data pass.
void Display_ds9(casacore::Int xdim, casacore::Int ydim, casacore::Matrix< casacore::Float > &data, casacore::Int frame)
virtual void iterFlag(casacore::uInt itime)
Iteration method for a flag pass.
void FlagBandPass(casacore::uInt pl, casacore::uInt bs)
casacore::Vector< casacore::Bool > flagBP
casacore::Vector< casacore::Float > tempBP
void GrowFlags(casacore::uInt pl, casacore::uInt bs)
void FitCleanBandPass(casacore::uInt pl, casacore::uInt bs)
casacore::Vector< casacore::Float > fitBP
RFATimeFreqCrop(RFChunkStats &ch, const casacore::RecordInterface &parm)
FlagCubeIterator flag_iter
casacore::uInt CorrChoice
LatticeExprNode mean(const LatticeExprNode &expr)
virtual void startFlag(bool verbose)
Called before starting the fetch-flags pass.
void CleanBand(casacore::Vector< casacore::Float > data, casacore::Vector< casacore::Float > fit)
RFA::IterMode ShowFlagPlots()
virtual void startData(bool verbose)
Called before starting a data pass on a chunk.
String: the storage and methods of handling collections of characters.
RFChunkStats: vital information and flagging stats for a visibility chunk.
VisBuffers encapsulate one chunk of visibility data for processing.
VisibilityIterator iterates through one or more writable MeasurementSets.
casacore::Float UMean(casacore::Vector< casacore::Float > vect, casacore::Vector< casacore::Bool > flag)
casacore::Float BASELN_TOL
Abstract base class for Record classes.
void Plot_ds9(casacore::Int dim, casacore::Vector< casacore::Float > data1, casacore::Vector< casacore::Float > data2)
casacore::Vector< casacore::Float > fitTS
RFDataMapper: maps complex visibilities to a single real value.