| Version 1.9 Build 1530
|
|
Next: autoflag.attach - Function
Up: autoflag.setselect - Function
Previous: Clipping.
is a special option for VLA datasets, to flag the ``quacks'' at the
beginning of each scan. It is specified by two numbers,
[tsi,
]. tsi is the scan interval, used to determine the
beginning of a new scan.
is the number of seconds to flag at the start of a
scan.
Arguments
| spwid |
|
Spectral window numbers (1-based), or [] or F for all |
|
|
Allowed: |
Array of ints |
|
|
Default: |
F |
| field |
|
Field names or numbers (1-based), or [] or F for all |
|
|
Allowed: |
Array of ints/strings |
|
|
Default: |
F |
| fq |
|
Range(s) of frequencies, or [] or F for all |
|
|
Allowed: |
2N or (2,N) array of Strings w/units or
floats |
|
|
Default: |
F |
| chan |
|
Range(s) of channels (1-based), or [] or F for all |
|
|
Allowed: |
2N or (2,N) array of ints |
|
|
Default: |
F |
| corr |
|
Correlations (by name, e.g. ``XX YY''), or [] or F for all |
|
|
Allowed: |
array of strings |
|
|
Default: |
F |
| ant |
|
Antennas (by name or number), or [] or F for all |
|
|
Allowed: |
array of strings/ints |
|
|
Default: |
F |
| baseline |
|
Baselines, or [] or F for all |
|
|
Allowed: |
array of strings/ints |
|
|
Default: |
F |
| timerng |
|
Time ranges, as MJDs or date strings, or [] or F for all |
|
|
Allowed: |
array of strings/floats |
|
|
Default: |
F |
| autocorr |
|
Flag autocorrelations |
|
|
Allowed: |
Boolean |
|
|
Default: |
F |
| timeslot |
|
Flag specific time slots. Specifies center time as MJDs or date strings |
|
|
Allowed: |
array of strings/floats |
|
|
Default: |
F |
| dtime |
|
Tolerance of timeslot parameter, in seconds |
|
|
Allowed: |
numeric |
|
|
Default: |
10 |
| clip |
|
Flag values outside a specific range |
|
|
Allowed: |
Record, see above |
|
|
Default: |
F |
| flagrange |
|
Flag values within a specific range |
|
|
Allowed: |
Record, see above |
|
|
Default: |
F |
| quack |
|
Flag VLA quacks - scan interval and quack length, in seconds |
|
|
Allowed: |
2-element numeric array |
|
|
Default: |
F |
| unflag |
|
Clear flags instead of setting them |
|
|
Allowed: |
Boolean |
|
|
Default: |
F |
Example
- af:=autoflag('3C273XC1.MS')
- af.setdata();
# flag all autocorrelations and VLA quacks
- af.setselect(autocorr=T,quack=[120,60])
# flag some frequencies on specific antennas, during a certain period of time
- af.setselect(ant=[1,2,4],timerng="1998/01/20/20:00 1998/01/20/22:00",
fq=[807.51,807.56])
# flag RR and RL on a few bad time slots on a specific baseline
- af.setselect(corr="RR RL",baseline="3-7",
timeslot="1998/01/20/20:00:30 1998/01/20/20:20:30")
Next: autoflag.attach - Function
Up: autoflag.setselect - Function
Previous: Clipping.
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