Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
![]() | Version 1.9 Build 1556 |
|
Package | synthesis | |
Module | simulator | |
Tool | simulator |
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' |
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.