RFASelector.h

Classes

RFASelector -- RFASelector: flags pixels/rows based on a specified selection (full description)

class RFASelector : public RFAFlagCubeBase

Interface

Public Members
RFASelector ( RFChunkStats &ch,const RecordInterface &parm )
virtual ~RFASelector ()
virtual uInt estimateMemoryUse ()
virtual Bool newChunk ( Int &maxmem )
virtual IterMode iterTime ( uInt it )
virtual IterMode iterRow ( uInt ir )
virtual String getDesc ()
static const RecordInterface & getDefaults ()
Protected Members
template<class T> Bool reformRange( T<T> &rng,const Matrix<T> &arr )
template<class T> Bool parseRange( T<T> &rng,const RecordInterface &parm,const String &id )
template<class T> Bool find( uInt &index,const T &obj,const T<T> &arr )
Bool parseTimes ( Array<Double> &times,const RecordInterface &parm,const String &id,Bool secs=False )
void addString ( String &str,const String &s1,const char *sep=" " )
void processRow ( uInt ifr,uInt it )
Bool parseMinMax ( Float &vmin,Float &vmax,const RecordInterface &spec,uInt f0 )
void addClipInfo ( const Vector<String> &expr,Float vmin,Float vmax,Bool clip )
void parseClipField ( const RecordInterface &spec,Bool clip )
void addClipInfoDesc ( const Block<ClipInfo> &clip )

Description

Prerequisite

Etymology

RedFlaggerAgent Selector

Synopsis

RFASelector accepts a whole bunch of options to select a subset of the MS (by time, antenna, baseline, channel/frequency, etc.), and to flag/unflag the whole selection, or specific parts of it (autocorrelations, specific time slots, VLA quacks, etc.)

To Do

Member Description

RFASelector ( RFChunkStats &ch,const RecordInterface &parm )

constructor.

virtual ~RFASelector ()

virtual uInt estimateMemoryUse ()

virtual Bool newChunk ( Int &maxmem )

virtual IterMode iterTime ( uInt it )

virtual IterMode iterRow ( uInt ir )

virtual String getDesc ()

static const RecordInterface & getDefaults ()

template<class T> Bool reformRange( T<T> &rng,const Matrix<T> &arr )

template<class T> Bool parseRange( T<T> &rng,const RecordInterface &parm,const String &id )

template<class T> Bool find( uInt &index,const T &obj,const T<T> &arr )

Bool parseTimes ( Array<Double> &times,const RecordInterface &parm,const String &id,Bool secs=False )

void addString ( String &str,const String &s1,const char *sep=" " )

void processRow ( uInt ifr,uInt it )

Bool parseMinMax ( Float &vmin,Float &vmax,const RecordInterface &spec,uInt f0 )

void addClipInfo ( const Vector<String> &expr,Float vmin,Float vmax,Bool clip )

void parseClipField ( const RecordInterface &spec,Bool clip )

void addClipInfoDesc ( const Block<ClipInfo> &clip )