|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
2.3.3.1 Channel selection in the spw parameter
Channel selection can be included in the spw string in the form ’SPWSEL:CHANSEL’ where CHANSEL is the channel selector. In the end, the spectral selection within a given spectral window comes down to the selection of specific channels. We provide a number of shorthand selection options for this. These CHANSEL options include:
- Channel ranges: ’START~STOP’
- Frequency ranges: ’FSTART~FSTOP’
- Velocity ranges: ’VSTART~VSTOP’ (not yet available)
- Bandwidth percentages: ’PSTART~PSTOP’ or ’PWIDTH’ (not yet available)
- Channel striding/stepping: ’START~STOP^STEP’ or ’FSTART~FSTOP^FSTEP’
The most common selection is via channel ranges ’START~STOP’ or frequency ranges ’FSTART~FSTOP’:
spw = ’0:1413~1414MHz’ # spw 0, 1413-1414MHz section only
All ranges are inclusive, with the channel given by, or containing the frequency or velocity given by, START and STOP plus all channels between included in the selection. You can also select the spectral window via frequency ranges ’FSTART~FSTOP’, as described above:
spw = ’*:1413~1414MHz’ # does the same thing
You can also specify multiple spectral window or channel ranges, e.g.
spw = ’2:1~3;57~63’ # spw 2, channels 1-3 and 57-63
spw = ’1~3:10~20’ # spw 1-3, channels 10-20
spw = ’*:4~56’ # all spw, channels 4-56
Note the use of the wildcard in the last example.
A step can be also be included using ’^STEP’ as a postfix:
spw = ’:^4’ # chans 0,4,8,... of all spw
spw = ’:100~150GHz^10GHz’ # closest chans to 100,110,...,150GHz
A step in frequency or velocity will pick the channel in which that frequency or velocity falls, or the nearest channel.
More information about CASA may be found at the
CASA web page
Copyright © 2010 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search