casa
$Rev:20696$
|
RFATimeFreqCrop : 2-Dimensional Time Frequency Autoflag agent. More...
#include <RFATimeFreqCrop.h>
RFATimeFreqCrop : 2-Dimensional Time Frequency Autoflag agent.
Internal
class RFATimeFreqCrop : public RFADiffMapBase
Definition at line 75 of file RFATimeFreqCrop.h.
casa::RFATimeFreqCrop::RFATimeFreqCrop | ( | RFChunkStats & | ch, |
const RecordInterface & | parm | ||
) |
virtual casa::RFATimeFreqCrop::~RFATimeFreqCrop | ( | ) | [virtual] |
void casa::RFATimeFreqCrop::AllocateMemory | ( | ) | [private] |
void casa::RFATimeFreqCrop::Ants | ( | uInt | bs, |
uInt * | a1, | ||
uInt * | a2 | ||
) | [private] |
uInt casa::RFATimeFreqCrop::BaselineIndex | ( | uInt | row, |
uInt | a1, | ||
uInt | a2 | ||
) | [private] |
void casa::RFATimeFreqCrop::CleanBand | ( | Vector< Float > | data, |
Vector< Float > | fit | ||
) | [private] |
void casa::RFATimeFreqCrop::Display_ds9 | ( | Int | xdim, |
Int | ydim, | ||
Matrix< Float > & | data, | ||
Int | frame | ||
) | [private] |
virtual void casa::RFATimeFreqCrop::endChunk | ( | ) | [virtual] |
Called once finished with a chunk.
Reimplemented from casa::RFAFlagCubeBase.
virtual IterMode casa::RFATimeFreqCrop::endData | ( | ) | [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.
void casa::RFATimeFreqCrop::ExtendFlags | ( | ) | [private] |
void casa::RFATimeFreqCrop::FillChunkFlags | ( | ) | [private] |
void casa::RFATimeFreqCrop::FitCleanBandPass | ( | uInt | pl, |
uInt | bs | ||
) | [private] |
void casa::RFATimeFreqCrop::FlagBandPass | ( | uInt | pl, |
uInt | bs | ||
) | [private] |
void casa::RFATimeFreqCrop::FlagTimeSeries | ( | uInt | pl, |
uInt | bs | ||
) | [private] |
void casa::RFATimeFreqCrop::FlagZeros | ( | ) | [private] |
static const RecordInterface& casa::RFATimeFreqCrop::getDefaults | ( | ) | [static] |
Reimplemented from casa::RFAFlagCubeBase.
void casa::RFATimeFreqCrop::GrowFlags | ( | uInt | pl, |
uInt | bs | ||
) | [private] |
virtual void casa::RFATimeFreqCrop::iterFlag | ( | uInt | ) | [virtual] |
Iteration method for a flag pass.
Called once per each VisBuffer.
Reimplemented from casa::RFAFlagCubeBase.
virtual IterMode casa::RFATimeFreqCrop::iterRow | ( | uInt | ) | [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 IterMode casa::RFATimeFreqCrop::iterTime | ( | uInt | ) | [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.
void casa::RFATimeFreqCrop::LineFit | ( | Vector< Float > | data, |
Vector< Bool > | flag, | ||
Vector< Float > | fit, | ||
uInt | lim1, | ||
uInt | lim2 | ||
) | [private] |
virtual Bool casa::RFATimeFreqCrop::newChunk | ( | Int & | ) | [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 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.
void casa::RFATimeFreqCrop::Plot_ds9 | ( | Int | dim, |
Vector< Float > | data1, | ||
Vector< Float > | data2 | ||
) | [private] |
void casa::RFATimeFreqCrop::PolyFit | ( | Vector< Float > | data, |
Vector< Bool > | flag, | ||
Vector< Float > | fit, | ||
uInt | lim1, | ||
uInt | lim2, | ||
uInt | deg | ||
) | [private] |
void casa::RFATimeFreqCrop::RunTFCrop | ( | ) | [private] |
RFA::IterMode casa::RFATimeFreqCrop::ShowFlagPlots | ( | ) | [private] |
virtual void casa::RFATimeFreqCrop::startData | ( | bool | ) | [virtual] |
Called before starting a data pass on a chunk.
Reimplemented from casa::RFAFlagCubeBase.
virtual void casa::RFATimeFreqCrop::startFlag | ( | bool | ) | [virtual] |
Called before starting the fetch-flags pass.
Reimplemented from casa::RFAFlagCubeBase.
Float casa::RFATimeFreqCrop::UStd | ( | Vector< Float > | vect, |
Vector< Bool > | flag, | ||
Vector< Float > | fit | ||
) | [private] |
Float casa::RFATimeFreqCrop::UStd | ( | Vector< Float > | vect, |
Vector< Bool > | flag, | ||
Float | mean | ||
) | [private] |
Vector<Int> casa::RFATimeFreqCrop::ant1 [private] |
Definition at line 121 of file RFATimeFreqCrop.h.
Vector<Int> casa::RFATimeFreqCrop::ant2 [private] |
Definition at line 121 of file RFATimeFreqCrop.h.
Float casa::RFATimeFreqCrop::ANT_TOL [private] |
Definition at line 143 of file RFATimeFreqCrop.h.
Vector<Bool> casa::RFATimeFreqCrop::baselineflags [private] |
Definition at line 132 of file RFATimeFreqCrop.h.
Float casa::RFATimeFreqCrop::BASELN_TOL [private] |
Definition at line 143 of file RFATimeFreqCrop.h.
Cube<Bool> casa::RFATimeFreqCrop::chunkflags [private] |
Definition at line 134 of file RFATimeFreqCrop.h.
Cube<Float> casa::RFATimeFreqCrop::cleanBP [private] |
Definition at line 130 of file RFATimeFreqCrop.h.
String casa::RFATimeFreqCrop::Column [private] |
Definition at line 149 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::CorrChoice [private] |
Definition at line 144 of file RFATimeFreqCrop.h.
IPosition casa::RFATimeFreqCrop::cubepos [private] |
Definition at line 154 of file RFATimeFreqCrop.h.
Bool casa::RFATimeFreqCrop::DryRun [private] |
Definition at line 145 of file RFATimeFreqCrop.h.
Vector<String> casa::RFATimeFreqCrop::Expr [private] |
Definition at line 150 of file RFATimeFreqCrop.h.
Float casa::RFATimeFreqCrop::F_TOL [private] |
Definition at line 143 of file RFATimeFreqCrop.h.
Cube<Bool> casa::RFATimeFreqCrop::ff [private] |
Definition at line 125 of file RFATimeFreqCrop.h.
Vector<Float> casa::RFATimeFreqCrop::fitBP [private] |
Definition at line 140 of file RFATimeFreqCrop.h.
Vector<Float> casa::RFATimeFreqCrop::fitTS [private] |
Definition at line 141 of file RFATimeFreqCrop.h.
Definition at line 167 of file RFATimeFreqCrop.h.
Vector<Bool> casa::RFATimeFreqCrop::flagBP [private] |
Definition at line 138 of file RFATimeFreqCrop.h.
Cube<Bool> casa::RFATimeFreqCrop::flagc [private] |
Definition at line 128 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::FlagLevel [private] |
Definition at line 144 of file RFATimeFreqCrop.h.
Vector<Bool> casa::RFATimeFreqCrop::flagTS [private] |
Definition at line 139 of file RFATimeFreqCrop.h.
Vector<Bool> casa::RFATimeFreqCrop::fr [private] |
Definition at line 126 of file RFATimeFreqCrop.h.
Bool casa::RFATimeFreqCrop::FreqLineFit [private] |
Definition at line 147 of file RFATimeFreqCrop.h.
Bool casa::RFATimeFreqCrop::IgnorePreflags [private] |
Definition at line 145 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::iterRowcnt [private] |
Definition at line 157 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::iterTimecnt [private] |
Definition at line 158 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::itime [private] |
Definition at line 116 of file RFATimeFreqCrop.h.
IPosition casa::RFATimeFreqCrop::matpos [private] |
Definition at line 154 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::MaxNPieces [private] |
Definition at line 144 of file RFATimeFreqCrop.h.
Cube<Float> casa::RFATimeFreqCrop::meanBP [private] |
Definition at line 129 of file RFATimeFreqCrop.h.
String casa::RFATimeFreqCrop::msname [private] |
Definition at line 120 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::nPol [private] |
Definition at line 146 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::NumAnt [private] |
Definition at line 163 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::NumB [private] |
Definition at line 162 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::NumC [private] |
Definition at line 164 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::NumP [private] |
Definition at line 165 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::NumT [private] |
Definition at line 161 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::NumTime [private] |
Definition at line 144 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::passcnt [private] |
Definition at line 156 of file RFATimeFreqCrop.h.
Vector<Bool> casa::RFATimeFreqCrop::rowflags [private] |
Definition at line 131 of file RFATimeFreqCrop.h.
Matrix<Bool> casa::RFATimeFreqCrop::RowFlags [private] |
Definition at line 152 of file RFATimeFreqCrop.h.
Bool casa::RFATimeFreqCrop::ShowPlots [private] |
Definition at line 145 of file RFATimeFreqCrop.h.
Bool casa::RFATimeFreqCrop::StopAndExit [private] |
Definition at line 148 of file RFATimeFreqCrop.h.
Float casa::RFATimeFreqCrop::T_TOL [private] |
Definition at line 143 of file RFATimeFreqCrop.h.
Vector<Float> casa::RFATimeFreqCrop::tempBP [private] |
Definition at line 136 of file RFATimeFreqCrop.h.
Vector<Float> casa::RFATimeFreqCrop::tempTS [private] |
Definition at line 137 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::timecnt [private] |
Definition at line 159 of file RFATimeFreqCrop.h.
uInt casa::RFATimeFreqCrop::TimeStamps [private] |
Definition at line 119 of file RFATimeFreqCrop.h.
VisBuffer& casa::RFATimeFreqCrop::vb [private] |
Definition at line 118 of file RFATimeFreqCrop.h.
Cube<Complex> casa::RFATimeFreqCrop::vc [private] |
Definition at line 124 of file RFATimeFreqCrop.h.
VisibilityIterator& casa::RFATimeFreqCrop::vi [private] |
Definition at line 117 of file RFATimeFreqCrop.h.
Cube<Float> casa::RFATimeFreqCrop::visc [private] |
Definition at line 127 of file RFATimeFreqCrop.h.
Cube<Complex>* casa::RFATimeFreqCrop::vv [private] |
Definition at line 123 of file RFATimeFreqCrop.h.