27 #ifndef FLAGGING_RFABASE_H
28 #define FLAGGING_RFABASE_H
static casacore::uInt indexing_base
virtual IterMode iterRow(casacore::uInt)
iterRow() is called once per each row in the VisBuffer.
casacore::uInt RFlagWord
RFAs use bitwise flags.
virtual void startDry(bool)
Called before starting a dry pass on a chunk.
virtual casacore::String getDesc()
called to obtain a short description of this RFA
virtual casacore::Bool newChunk(casacore::Int &)
Called before iterating over a chunk.
virtual ~RFABase()
Destructor.
virtual void startFlag(bool)
Called before starting the fetch-flags pass.
virtual IterMode endData()
Called after a pass is completed successfully (i.e., not stopped by start or iter methods)...
virtual void endRows(casacore::uInt)
Called at end of time chunk.
casacore::LogIO & logSink()
accessor to a casacore::LogIO for this agent
virtual void endFlag()
Called after a flag pass is complete.
virtual IterMode endDry()
Called after a dry pass is complete.
static casacore::uInt indexingBase()
global flag indicates that Glish (1-based) indexing is in use for agent arguments ...
ostream-like interface to creating log messages.
casacore::Bool isActive()
returns the active status
casacore::uInt num(StatEnums which) const
returns a data dimension (POL, CHAN, IFR, etc.)
virtual casacore::uInt estimateMemoryUse()
This method is called before iterating over a chunk, to inquire the expected memory use...
static void setIndexingBase(casacore::uInt base)
static method for setting the indexing base for agent arguments
virtual casacore::Record getResult()
virtual void initializeIter(casacore::uInt)
RFlagWord corrmask
Bit mask of correlations which are used & flagged by this RFA.
virtual casacore::String getID()
virtual void endChunk()
Called once finished with a chunk.
virtual void finalizeIter(casacore::uInt)
virtual IterMode iterTime(casacore::uInt)
Iteration methods for a data pass.
virtual casacore::String getStats()
called (before endChunk()) to obtain a statistics report
virtual void printFlaggingReport()
virtual IterMode iterDry(casacore::uInt)
Iteration method for a dry pass.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
casacore::Bool active
flag: agent is active for this chunk (set in newChunk)
FlaggerEnums: collection of enums for various flagger classes.
Abstract RedFlagger Agent base class.
virtual void initialize()
Initialize chunk.
virtual void setOnlySelector(bool only_sel)
String: the storage and methods of handling collections of characters.
RFChunkStats: vital information and flagging stats for a visibility chunk.
virtual void init()
This method is called after constructing the agent.
RFABase(RFChunkStats &ch, const casacore::RecordInterface &parm)
An agent is always constructed from a chunk stats accessor, and a record of parameters.
Abstract base class for Record classes.
virtual void setNAgent(casacore::uInt n)
casacore::uInt num(StatEnums which)
const casacore::String & name()
returns the name of this RFA (set in myname)
virtual void iterFlag(casacore::uInt)
Iteration method for a flag pass.
virtual void startData(bool)
Called before starting a data pass on a chunk.