|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
atmosphere.initSpectralWindow - Function
4.1.1 initialize spectral window
Description
function that defines a spectral window, computes absorption and emmision
coefficients for this window, using the above atmospheric parameters.
Arguments
Inputs |
| ||
nbands |
| number of spectral windows/bands. The value must be
> 0.
| |
| allowed: | int | |
| Default: | 1 |
|
fCenter | GHz | center frequencies - Quantum with a vector value and
unit of frequency, GHz
| |
| allowed: | doubleGHz | |
| Default: | 90 |
|
fWidth | GHz | frequency width of band - Quantum with a vector value
and unit of frequency, GHz
| |
| allowed: | doubleGHz |
|
| Default: | 0.64 |
|
fRes | GHz | resolution inside band - Quantum with a vector value
and unit frequency, GHz. Default is for a single
frequency.
| |
| allowed: | doubleGHz |
|
| Default: | 0.0 |
|
int
Example
nb = 1
fC = qa.quantity(88., ’GHz’)
fW = qa.quantity(0.5, ’GHz’)
fR = qa.quantity(0.5, ’GHz’)
at.initSpectralWindow(nb, fC, fW, fR)
nb = 2
fC = qa.quantity([88., 90.], ’GHz’)
fW = qa.quantity([0.5, 0.5], ’GHz’)
fR = qa.quantity([0.125, 0.125], ’GHz’)
at.initSpectralWindow(nb, fC, fW, fR)
__________________________________________________________________
More information about CASA may be found at the
CASA web page
Copyright © 2016 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