34 #ifndef EXTENDFLAGGER_H
35 #define EXTENDFLAGGER_H
250 static int compareID (
const void* val1,
const void* val2);
256 <<
" field=" <<
field
304 static int compare (
const void* val1,
const void* val2);
307 std::cout <<
"rowNum=" <<
rowNum
311 <<
" field=" <<
field
316 <<
" polid=" <<
polid
casacore::Bool selectdata(casacore::Bool useoriginalms=true)
static int compare(const void *val1, const void *val2)
A 1-D Specialization of the Array class.
virtual ~ExtendFlagger()
Destructor.
casacore::String extendSpw
casacore::Vector< casacore::Int > chanNum
virtual void reset()
Overrides PlotTool::reset().
casacore::String extendTime
void setExtend(const casacore::String &exchan, const casacore::String &excorr, const casacore::String &exspw, const casacore::String &exant, const casacore::String &extime, const casacore::Vector< casacore::Vector< casacore::String > > &corrs, const casacore::Vector< casacore::Int > &chans)
ExtendFlagger()
Constructor.
casacore::uInt ant1
casacore::uInt npts;
void setArray(const casacore::String &array)
casacore::String clipcolumn
FlagID & operator=(const FlagID &other)
void setExtendSpw(const casacore::String &exspw)
casacore::String halfExtendCorr(const casacore::String &corr, const casacore::uInt polid=0)
class for flaging and extend flagging
void setBaseline(const casacore::String &baseline)
void setFeed(const casacore::String &feed)
FlagIDS & operator=(const FlagIDS &other)
casacore::Double quackinterval
casacore::String ableSpw(const casacore::Int spw)
void setSpw(const casacore::String &spw)
void setExtendAnt(const casacore::String &exant)
void setUvrange(const casacore::String &uvrange)
casacore::Bool setmanualflags(casacore::Bool unflag=false, casacore::Bool autocorr=false)
void setUnflag(casacore::Bool unflg)
void setExtendTime(const casacore::String &extime)
Flagger: high-performance automated flagging.
bool Bool
Define the standard types used by Casacore.
casacore::Bool attach(casacore::MeasurementSet &ms)
void setAbleCorr(const casacore::Vector< casacore::Vector< casacore::String > > &corrName)
casacore::Vector< casacore::Double > cliprange
casacore::String field
casacore::Bool useoriginalms;
void setTime(const casacore::String &time)
void setIntent(const casacore::String &intent)
casacore::Bool run(casacore::Bool trial=false, casacore::Bool reset=false)
casacore::Bool extend2(const casacore::Vector< FlagID > &flagids)
A Table intended to hold astronomical data (a set of Measurements).
ExtendFlagger & operator=(const ExtendFlagger &)
Operator= Equate by reference.
casacore::Vector< casacore::Vector< casacore::String > > ableCorr
casacore::Bool channelavg
void setExtendChan(const casacore::String &exchan)
casacore::String extendCorr
casacore::String correlation
void setChanNum(const casacore::Vector< casacore::Int > &chanNum)
casacore::Bool initdata(const casacore::String &field="", const casacore::String &spw="", const casacore::String &array="", const casacore::String &feed="", const casacore::String &scan="", const casacore::String &baseline="", const casacore::String &uvrange="", const casacore::String &time="", const casacore::String &correlation="", const casacore::String &intent="")
casacore::String extendChan
String: the storage and methods of handling collections of characters.
casacore::String clipexpr
casacore::Bool extend(const casacore::Vector< FlagID > &flagids)
void setExtendCorr(const casacore::String &excorr)
void setCorrelation(const casacore::String &correlation)
static int compareID(const void *val1, const void *val2)
casacore::String extendAnt
casacore::String baseline
void setScan(const casacore::String &scan)
void setField(const casacore::String &field)