Synopsis
setselect(spwid, field, fq, chan, corr, ant, baseline, timerng, autocorr, timeslot, dtime, clip, flagrange, quack, unflag)
Description
The select method allows you to directly flag or unflag a subset of your
data. Subsets can be specified via any combination of field, spectral window,
frequency or channel number, correlations (i.e. polarizations), antennas,
baselines, time ranges. The method will flag/unflag a whole subset, or,
optionally, only autocorrelations, or only specific time slots within the
subset. Select also includes the option to flag VLA quacks (specified by
scan interval and scan start time).
The spwid, field, fq, chan, corr, ant, baseline, timerng parameters
select a subset of the measurement set, on a logical-AND basis.
- An empty array ([]) or a boolean F (which is the default for
any parameter), means ``do not select on this''.
- fq specifies ranges of frequencies. You can use
strings with units (i.e. "800MHz"), or floats, in which case MHz is assumed.
- chan specifies ranges of channel numbers (1-based). Negative
numbers can be used to specify channels starting from the end of the window,
e.g., [-10,-1] means the last 10 channels.
- Where ranges are specified, the method expects either a 2N vector:
[S1, E1, S2, E2,..., SN, EN]
or a (2,N) array of start/end points.
For example, if you want to indicate 7 channels (1,2,3,4,5,6,7), either
chan = [1,7] or chan = [[1,2],[2,3],...,[6,7]] does the work.
NOTE: The usual means of indicating a range with the ":" delimiter does not apply for the channel subexpression. For example, the equivalent to [1:3] to select channels 1 through 3 would be [1,3].
- Antennas can be specified by name or 1-based number (which is sometimes
the same thing). Names must correspond to the ANTENNA subtable of the
measurement set.
- Baselines may be specified either as an array of strings, using antenna
names or numbers delimited by ``-'' (e.g. "1-2 4-7", or "RT1-RTA"), or as a (2,N) array of antenna numbers (e.g.
[[1, 2],[4, 7]]).
The autocorr, timeslot+dtime, clip, flagrange and
quack parameters specify what to flag (or unflag) within the selected
subset, on a logical-OR basis. If none are specified, then the entire subset is
flagged (or unflagged).
Subsections
Next: Clipping.
Up: autoflag - Tool
Previous: autoflag.setuvbin - Function
Contents
Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc.,
Washington, D.C.
Return to AIPS++ Home Page
2006-09-02