casa
5.7.0-16
|
Abstract base class for deviation-based flagging with a data mapper. More...
#include <RFADiffBase.h>
Public Member Functions | |
RFADiffMapBase (RFChunkStats &ch, const casacore::RecordInterface &parm) | |
virtual | ~RFADiffMapBase () |
virtual IterMode | iterTime (casacore::uInt it) |
Iteration methods for a data pass. More... | |
virtual casacore::String | getDesc () |
called to obtain a short description of this RFA More... | |
Public Member Functions inherited from casa::RFADiffBase | |
RFADiffBase (RFChunkStats &ch, const casacore::RecordInterface &parm) | |
virtual | ~RFADiffBase () |
virtual casacore::uInt | estimateMemoryUse () |
This method is called before iterating over a chunk, to inquire the expected memory use. More... | |
virtual casacore::Bool | newChunk (casacore::Int &maxmem) |
Called before iterating over a chunk. More... | |
virtual void | endChunk () |
Called once finished with a chunk. More... | |
virtual void | startData (bool verbose) |
Called before starting a data pass on a chunk. More... | |
virtual void | startDry (bool verbose) |
Called before starting a dry pass on a chunk. More... | |
virtual IterMode | iterDry (casacore::uInt it) |
Iteration method for a dry pass. More... | |
virtual IterMode | endData () |
Called after a pass is completed successfully (i.e., not stopped by start or iter methods). More... | |
virtual IterMode | endDry () |
Called after a dry pass is complete. More... | |
Public Member Functions inherited from casa::RFAFlagCubeBase | |
RFAFlagCubeBase (RFChunkStats &ch, const casacore::RecordInterface &parm) | |
virtual | ~RFAFlagCubeBase () |
virtual void | startFlag (bool verbose) |
Called before starting the fetch-flags pass. More... | |
virtual void | iterFlag (casacore::uInt it) |
Iteration method for a flag pass. More... | |
virtual casacore::String | getStats () |
called (before endChunk()) to obtain a statistics report More... | |
virtual casacore::String | getID () |
Public Member Functions inherited from casa::RFABase | |
RFABase (RFChunkStats &ch, const casacore::RecordInterface &parm) | |
An agent is always constructed from a chunk stats accessor, and a record of parameters. More... | |
virtual | ~RFABase () |
Destructor. More... | |
virtual void | init () |
This method is called after constructing the agent. More... | |
virtual void | endFlag () |
Called after a flag pass is complete. More... | |
virtual void | endRows (casacore::uInt) |
Called at end of time chunk. More... | |
virtual IterMode | iterRow (casacore::uInt) |
iterRow() is called once per each row in the VisBuffer. More... | |
virtual void | printFlaggingReport () |
const casacore::String & | name () |
returns the name of this RFA (set in myname) More... | |
casacore::Bool | isActive () |
returns the active status More... | |
casacore::LogIO & | logSink () |
accessor to a casacore::LogIO for this agent More... | |
virtual casacore::Record | getResult () |
virtual void | finalize () |
virtual void | initialize () |
Initialize chunk. More... | |
virtual void | initializeIter (casacore::uInt) |
virtual void | finalizeIter (casacore::uInt) |
virtual void | setNAgent (casacore::uInt n) |
virtual void | setOnlySelector (bool only_sel) |
Static Public Member Functions | |
static const casacore::RecordInterface & | getDefaults () |
returns a casacore::Record of all available parameters and their default values More... | |
Static Public Member Functions inherited from casa::RFADiffBase | |
static const casacore::RecordInterface & | getDefaults () |
Static Public Member Functions inherited from casa::RFAFlagCubeBase | |
static const casacore::RecordInterface & | getDefaults () |
Static Public Member Functions inherited from casa::RFABase | |
static void | setIndexingBase (casacore::uInt base) |
static method for setting the indexing base for agent arguments More... | |
Abstract base class for deviation-based flagging with a data mapper.
Internal
This is another abstract class on top of DiffBase. It is also inherited from RFDataMapper, so it includes functions for mapping visibilities to a single casacore::Float value.
Definition at line 157 of file RFADiffBase.h.
casa::RFADiffMapBase::RFADiffMapBase | ( | RFChunkStats & | ch, |
const casacore::RecordInterface & | parm | ||
) |
|
virtual |
|
static |
returns a casacore::Record of all available parameters and their default values
|
virtual |
called to obtain a short description of this RFA
Reimplemented from casa::RFADiffBase.
Reimplemented in casa::RFAFreqMedian, and casa::RFATimeMedian.
|
virtual |
Iteration methods for a data pass.
Either or both may be implemented. iterTime() is called once for each new VisBuffer (= new time slot) Return value: STOP to finish iterating, CONT/DATA to continue, or DRY to cancel the data pass and request a dry pass.
Reimplemented from casa::RFADiffBase.
Reimplemented in casa::RFATimeMedian.
|
inlineprotectedvirtual |
computes a correlations mask.
Called once for each chunk (since correlations can change from chunk to chunk)
Implements casa::RFADiffBase.
Definition at line 171 of file RFADiffBase.h.
References casa::RFABase::chunk, casa::RFDataMapper::corrMask(), and casa::RFChunkStats::visIter().
|
inlineprotected |
Definition at line 174 of file RFADiffBase.h.
References casa::RFABase::chunk, casa::RFDataMapper::setVisBuffer(), and casa::RFChunkStats::visBuf().