casa
5.7.0-16
|
RFATimeFreqCrop : 2-Dimensional casacore::Time Frequency Autoflag agent. More...
#include <RFATimeFreqCrop.h>
Public Member Functions | |
RFATimeFreqCrop (RFChunkStats &ch, const casacore::RecordInterface &parm) | |
virtual | ~RFATimeFreqCrop () |
virtual casacore::Bool | newChunk (casacore::Int &i) |
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 IterMode | iterTime (casacore::uInt itime) |
Iteration methods for a data pass. More... | |
virtual IterMode | iterRow (casacore::uInt irow) |
iterRow() is called once per each row in the VisBuffer. More... | |
virtual IterMode | endData () |
Called after a pass is completed successfully (i.e., not stopped by start or iter methods). More... | |
virtual void | startFlag (bool verbose) |
Called before starting the fetch-flags pass. More... | |
virtual void | iterFlag (casacore::uInt itime) |
Iteration method for a flag pass. More... | |
Public Member Functions inherited from casa::RFAFlagCubeBase | |
RFAFlagCubeBase (RFChunkStats &ch, const casacore::RecordInterface &parm) | |
virtual | ~RFAFlagCubeBase () |
virtual casacore::uInt | estimateMemoryUse () |
This method is called before iterating over a chunk, to inquire the expected memory use. 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 | endDry () |
Called after a dry pass is complete. More... | |
virtual casacore::String | getDesc () |
called to obtain a short description of this RFA 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 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) |
Public Member Functions inherited from casa::RFDataMapper | |
RFDataMapper (const casacore::String &col, DDMapper *map) | |
construct from a column and a DDMapper More... | |
RFDataMapper (const casacore::Vector< casacore::String > &expr, const casacore::String &defcol="") | |
construct from a column and an expression More... | |
~RFDataMapper () | |
destructor More... | |
MapperType | type () |
returns type of mapper More... | |
casacore::Double | getValueCycle () |
If the value being mapped into is cyclic (i.e. More... | |
casacore::Double | getValueBase () |
Returns base of a cyclic value (e.g. More... | |
casacore::Float | mapValue (casacore::uInt ich, casacore::uInt irow) |
gets a value from the DDMapper More... | |
casacore::Float | mapValue (casacore::uInt irow) |
gets a value from the row mapper More... | |
RFlagWord | corrMask (const VisibilityIterator &vi) |
uses mapper to compute a correlations mask More... | |
void | setVisBuffer (VisBuffer &vb) |
point the datamapper at a visbuffer - called for every new buffer More... | |
casacore::String | description () const |
returns description More... | |
casacore::String | descExpression () const |
returns description of expression More... | |
Static Public Member Functions | |
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... | |
RFATimeFreqCrop : 2-Dimensional casacore::Time Frequency Autoflag agent.
Internal
class RFATimeFreqCrop : public RFADiffMapBase
Definition at line 75 of file RFATimeFreqCrop.h.
casa::RFATimeFreqCrop::RFATimeFreqCrop | ( | RFChunkStats & | ch, |
const casacore::RecordInterface & | parm | ||
) |
|
virtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Called once finished with a chunk.
Reimplemented from casa::RFAFlagCubeBase.
|
virtual |
Called after a pass is completed successfully (i.e., not stopped by start or iter methods).
Return value: STOP to stop, DATA for another data pass, DRY for another dry pass.
Reimplemented from casa::RFAFlagCubeBase.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
|
private |
|
virtual |
Iteration method for a flag pass.
Called once per each VisBuffer.
Reimplemented from casa::RFAFlagCubeBase.
|
virtual |
iterRow() is called once per each row in the VisBuffer.
Iterating over rows is perhaps preferrable in terms of performance, at least for data iterations.
Reimplemented from casa::RFABase.
|
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::RFAFlagCubeBase.
|
private |
|
virtual |
Called before iterating over a chunk.
Returns true if agent will process this chunk, or false if this the agent is unable to process it. (this can happen if, e.g., the requisite correlations are not present). The casacore::Int & maxmem argument is the number of MB memory which is still available in the memory pool. The agent class should plan its memory use accordingly, and subtract its expected memory use from maxmem. In effect, the agent "reserves" some amount of memory. This is used by RedFlagger to contain the total memory footprint. Note that only a rough reckoning is sufficient, so only bother estimating the biggest data structures. See implementations in RFADiffBase and RFATimeMedian for good examples. nAgent is the total number of agents.
Reimplemented from casa::RFAFlagCubeBase.
|
private |
|
private |
|
private |
|
private |
|
virtual |
Called before starting a data pass on a chunk.
Reimplemented from casa::RFAFlagCubeBase.
|
virtual |
Called before starting the fetch-flags pass.
Reimplemented from casa::RFAFlagCubeBase.
|
private |
|
private |
|
private |
|
private |
Definition at line 121 of file RFATimeFreqCrop.h.
|
private |
Definition at line 121 of file RFATimeFreqCrop.h.
|
private |
Definition at line 143 of file RFATimeFreqCrop.h.
|
private |
Definition at line 132 of file RFATimeFreqCrop.h.
|
private |
Definition at line 143 of file RFATimeFreqCrop.h.
|
private |
Definition at line 134 of file RFATimeFreqCrop.h.
|
private |
Definition at line 130 of file RFATimeFreqCrop.h.
|
private |
Definition at line 149 of file RFATimeFreqCrop.h.
|
private |
Definition at line 144 of file RFATimeFreqCrop.h.
|
private |
Definition at line 154 of file RFATimeFreqCrop.h.
|
private |
Definition at line 145 of file RFATimeFreqCrop.h.
|
private |
Definition at line 150 of file RFATimeFreqCrop.h.
|
private |
Definition at line 143 of file RFATimeFreqCrop.h.
|
private |
Definition at line 125 of file RFATimeFreqCrop.h.
|
private |
Definition at line 140 of file RFATimeFreqCrop.h.
|
private |
Definition at line 141 of file RFATimeFreqCrop.h.
|
private |
Definition at line 167 of file RFATimeFreqCrop.h.
|
private |
Definition at line 138 of file RFATimeFreqCrop.h.
|
private |
Definition at line 128 of file RFATimeFreqCrop.h.
|
private |
Definition at line 144 of file RFATimeFreqCrop.h.
|
private |
Definition at line 139 of file RFATimeFreqCrop.h.
|
private |
Definition at line 126 of file RFATimeFreqCrop.h.
|
private |
casacore::uInt nPol;
Definition at line 147 of file RFATimeFreqCrop.h.
|
private |
Definition at line 145 of file RFATimeFreqCrop.h.
|
private |
casacore::uInt passcnt; casacore::uInt iterRowcnt;
Definition at line 158 of file RFATimeFreqCrop.h.
|
private |
Definition at line 154 of file RFATimeFreqCrop.h.
|
private |
Definition at line 144 of file RFATimeFreqCrop.h.
|
private |
Definition at line 129 of file RFATimeFreqCrop.h.
|
private |
casacore::uInt TimeStamps;
Definition at line 120 of file RFATimeFreqCrop.h.
|
private |
Definition at line 163 of file RFATimeFreqCrop.h.
|
private |
Definition at line 162 of file RFATimeFreqCrop.h.
|
private |
Definition at line 164 of file RFATimeFreqCrop.h.
|
private |
Definition at line 165 of file RFATimeFreqCrop.h.
|
private |
Definition at line 161 of file RFATimeFreqCrop.h.
|
private |
Definition at line 144 of file RFATimeFreqCrop.h.
|
private |
Definition at line 131 of file RFATimeFreqCrop.h.
|
private |
Definition at line 152 of file RFATimeFreqCrop.h.
|
private |
Definition at line 145 of file RFATimeFreqCrop.h.
|
private |
Definition at line 148 of file RFATimeFreqCrop.h.
|
private |
Definition at line 143 of file RFATimeFreqCrop.h.
|
private |
Definition at line 136 of file RFATimeFreqCrop.h.
|
private |
Definition at line 137 of file RFATimeFreqCrop.h.
|
private |
Definition at line 159 of file RFATimeFreqCrop.h.
|
private |
Definition at line 118 of file RFATimeFreqCrop.h.
|
private |
casacore::Cube <casacore::Complex> *vv; // visCube ptr - for one timestamp
Definition at line 124 of file RFATimeFreqCrop.h.
|
private |
casacore::uInt itime;
Definition at line 117 of file RFATimeFreqCrop.h.
|
private |
Definition at line 127 of file RFATimeFreqCrop.h.