atmosphere.addSpectralWindow - Function

4.1.1 add a new spectral window
Description

Add a new spectral window, uniformly sampled, this spectral window having no sideband.

Arguments





Inputs

fCenter

GHz

frequencies - Quantum with a vector value and unit of frequency, GHz

allowed:

doubleGHz

Default:

350

fWidth

GHz

frequency width - Quantum with a vector value and unit of frequency, GHz

allowed:

doubleGHz

Default:

0.008

fRes

GHz

resolution inside band - Quantum with a vector value and unit frequency, GHz

allowed:

doubleGHz

Default:

0.002

Returns
int

Example

fC2 = quantity(350.0,’GHz’)  
fW2 = quantity(0.008,’GHz’)  
fR2 = quantity(0.002,’GHz’)  
nc = at.addSpectralWindow(fC2,fW2,fR2)  
print "New spectral window has ", nc, " channels"

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.