Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: newsimulator.setdata - Function Up: newsimulator - Tool Previous: newsimulator.setmosaicfield - Function


newsimulator.setspwindow - Function



Package synthesis
Module newsimulator
Tool newsimulator


Set one or more spectral windows


Synopsis
setspwindow(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 observe.



Arguments

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(spwname='CBAND', freq='2GHz', deltafreq='50MHz',
                   freqresolution='50MHz', nchannels=16, stokes='RR LL');

mysim.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.





next up previous contents index
Next: newsimulator.setdata - Function Up: newsimulator - Tool Previous: newsimulator.setmosaicfield - 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