Tool: autoflag Automatic synthesis flagging
Method: autoflag Construct an autoflag tool from a MeasurementSet
msname unknown Measurement set to be processed
Method: settimemed Sets up the time-median flagging method
thr double Flagging threshold
hw int Half-window for the sliding median, if time slots is less than 4 times half window, ignoring this chunk
rowthr double Row flagging threshold
rowhw int Half-window for the sliding median of the MAD
norow bool Disable row flagging
column string Which column to base flagging on
expr string Expression to use
fignore bool Ignore existing flags
Method: setnewtimemed Sets up the new time-median flagging method
thr double Flagging threshold
column string Which column to base flagging on
expr string Expression to use
fignore bool Ignore existing flags
Method: setdata Set the data parameters selection for subsequent processing
mode string Type of processing: fieldids, spwids, channel or velocity
nchan intArray Number of channels to select
start intArray Start channels (0-relative)
step intArray Step in channel number
mstart double Start velocity (e.g. '20Km/s')
mstep double Step in velocity (e.g. '100m/s'
spwid intArray Spectral Window Ids (0 relative) to select
fieldid intArray Field Ids (0 relative) to select
msselect string TQL select string applied as a logical "and" with the other selections
async bool Run asynchronously in the background?
Method: setfreqmed Sets up the freq-median flagging method
thr double Flagging threshold
hw int Half-window for the sliding median
rowthr double Row flagging threshold
rowhw int Half-window for the sliding median of the MAD
column string Which column to base flagging on
expr string Expression to use
fignore bool Ignore existing flags
Method: setsprej Sets up the spectral rejection flagging method
ndeg int Number of degrees for polynomial
rowthr double Flagging threshold, in MADs of $\chi^2$
rowhw int Half-window for the sliding median
norow bool Disable row flagging
spwid int Spectral window number (0-based), or -1 for all windows
chan intArray Range of channels (1-based). Either ``fq'' or ``chan'' must be specified, 2N or (2,N).
region any A compound spectral segment specification (see example)
column string Which column to base flagging on
expr string Expression to use
fignore bool Ignore existing flags
Method: setuvbin Sets up the UV Binner flagging method
thr double Population cut-off, as $p(N)$ value.
minpop int Population cut-off, as minimum bin count. Either thr or maxpop must be specified, or both.
nbins intArray Number of bins (one number for both axes, or separate for UV, value)
plotchan int Channel number (0-based) to plot, T for middle channel, or -1 for noplot
econoplot bool Produce an economical plot (crowded bins are not resolved)
column string Which column to base flagging on
expr string Expression to use
fignore bool Ignore existing flags
Method: setselect Sets up the Selector flagging method
spwid intArray Spectral window numbers (1-based), or [\/] or F for all
field stringArray Field names or numbers (1-based), or [\/] or F for all
fq doubleArray Range(s) of frequencies, or [\/] or F for all
chan intArray Range(s) of channels (1-based), or [\/] or F for all
corr stringArray Correlations (by name, e.g. ``XX YY''), or [\/] or F for all
ant stringArray Antennas (by name or number), or [\/] or F for all
baseline intArray Baselines, or -1 for all
timerng stringArray Time ranges, as MJDs or date strings, or [\/] or F for all
autocorr bool Flag autocorrelations
timeslot stringArray Flag specific time slots. Specifies center time as MJDs or date strings
dtime double Tolerance of timeslot parameter, in seconds
clip any Flag values outside a specific range
flagrange any Flag values within a specific range
quack intArray Flag VLA quacks -- scan interval and quack length, in seconds
unflag bool Clear flags instead of setting them
Method: open Attaches tool to another measurement set
msname string Measurement set to be processed
Method: run Executes a flagging run
globparm any Record of global method parameters
plotscr int Number of plots per window for on-screen flagging report, or default for no report
plotdev int Number of plots per page in hardcopy flagging report,0 for no report
devfile string File or PGPlot device for hardcopy report
reset bool Reset pre-existing flags before running
trial bool Do a trial run only
Method: summary Prints a summary of active methods
Method: help Prints help on available flagging methods
names string Names of methods (all methods, if omitted)
Method: reset Disables specific flagging methods
methods stringArray Names or numbers of methods
Method: resetall Disables all flagging methods
Method: setspwid Set spectral window ID
spwid intArray Spectral window numbers or -1 for all
Method: setfield Set Fields to flag
field any Field names or numbers (1-based), or [\/] or false for all
Method: setfreqs Set frequency to flag
freqs doubleArray Range(s) of frequencies or -1 for all
Method: setchans Set channels to flag
chan intArray Range(s) of channels (1-based), or -1 for all
Method: setcorr Set correlations to flag
corr stringArray Correlations (by name, e.g. ``XX YY''), or [\/] or F for all
Method: setantenna Set antenna(s) by name to flag
ant stringArray Antennas by name or [\/] or F for all
Method: setantennaID Set antennas(s) by id to flag
antID intArray Antennas by number or -1 for all
Method: setbaseline Set baseline to flag
baseline intArray Baselines, or -1 for all
Method: settimerange Set time ranges to flag
timerange stringArray Time ranges, as MJDs or date strings, or [\/] or F for all
Method: setautocorrelation Set whether to flag autocorrelation
autocorr bool Flag autocorrelations
Method: settimeslot set which timeslots to flag
timeslot stringArray Flag specific time slots. Specifies center time as MJDs or date strings
Method: setdtime Set the uncertainty for timeslot flagging
dtime double Tolerance of timeslot parameter, in seconds
Method: setclip Set the clip range
clip any Flag values outside a specific range
Method: setflagrange set the flag range
flagrange any Flag values within a specific range
Method: setquack Get rid of data at the beginning of scans (VLA only)
quack doubleArray Flag VLA quacks -- scan interval and quack length, in seconds
Method: setunflag Unflag data rather than flag it
unflag bool Clear flags instead of setting them
Method: setnewselector Make a new selector used by autoflag
Method: close Close the ms used by autoflag tool
Method: done Destroys the autoflag tool

WesYoung 17-July-2006
Topic revision: r1 - 2006-07-17, WesYoung
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback