2.4.1 Set one or more spectral windows
Description
Set one or more spectral windows for the observations, including starting
frequency, number of channels, channel increment and resolution, and stokes
parameters observed. Can be invoked multiple times for a complex
observation. Must be invoked at least once before observe.
Arguments
| Inputs |
| ||
| spwname |
| Unique user-supplied name for this spectral window
| |
| allowed: | string |
|
| Default: | XBAND ’XBAND’ |
|
| freq |
| Starting frequency
| |
| allowed: | any |
|
| Default: | variant 8.0e9Hz |
|
| deltafreq |
| Frequency increment per channel
| |
| allowed: | any |
|
| Default: | variant 50e6Hz |
|
| freqresolution |
| Frequency resolution per channel
| |
| allowed: | any |
|
| Default: | variant 50.e6Hz |
|
| nchannels |
| Number of channels
| |
| allowed: | int |
|
| Default: | 1 |
|
| stokes |
| Stokes types to simulate
| |
| allowed: | string |
|
| Default: | RR LL ’RR LL’ |
|
Example
To simulate a two spectral window (or two IF’s in VLA jargon) data set, use setpwid
as follows (here we are simulating 16 channels, 50MHz wide channel for each spectral
window)
sm.setspwindow(spwname=’CBAND’, freq=’2GHz’, deltafreq=’50MHz’, freqresolution=’50MHz’, nchannels=16, stokes=’RR LL’); sm.setspwindow(spwname=’SBAND’, freq=’5GHz’, deltafreq=’50MHz’, freqresolution=’50MHz’, nchannels=16, stokes=’RR LL’); |
Note that the spwname is used in observe to determine which spectral window is used.
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 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
Updated daily during alpha development.