nraonrao
 
NRAO Home > CASA > CasaRef
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

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

Returns
int

Example

nb=1  
fC=quantity(88.,’GHz’)  
fW=quantity(.5,’GHz’)  
fR=quantity(.5,’GHz’)  
at.initSpectralWindow(nb,fC,fW,fR)  
 
nb=2  
fC=quantity([88.,90.],’GHz’)  
fW=quantity([.5,.5],’GHz’)  
fR=quantity([.125,.125],’GHz’)  
at.initSpectralWindow(nb,fC,fW,fR)

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.