setspwindow(row, spwname, freq, deltafreq, freqresolution, nchannels, stokes)
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
create.
Arguments
row |
|
Row number in the spectral windowg table |
|
|
Allowed: |
Int |
|
|
Default: |
1 |
spwname |
|
Unique user-supplied name for this spectral window |
|
|
Allowed: |
String |
|
|
Default: |
'XBAND' |
freq |
|
Starting frequency |
|
|
Allowed: |
Quantity |
|
|
Default: |
'8.0GHz' |
deltafreq |
|
Frequency increment per channel |
|
|
Allowed: |
Quantity |
|
|
Default: |
'50.0MHz' |
freqresolution |
|
Frequency resolution per channel |
|
|
Allowed: |
Quantity |
|
|
Default: |
'50.0MHz' |
nchannels |
|
Number of channels |
|
|
Allowed: |
Int |
|
|
Default: |
1 |
stokes |
|
Stokes types to simulate |
|
|
Allowed: |
String |
|
|
Default: |
'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)
mysim.setspwindow(row=1, spwname='CBAND', freq='2GHz', deltafreq='50MHz',
freqresolution='50MHz', nchannels=16, stokes='RR LL');
mysim.setspwindow(row=2, spwname='SBAND', freq='5GHz', deltafreq='50MHz',
freqresolution='50MHz', nchannels=16, stokes='RR LL');
Note that the spwname is just a label and should be unique.
Next: simulator.settimes - Function
Up: simulator - Tool
Previous: simulator.setfield - 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-10-15