NRAO Home > CASA > CASA Toolkit Reference Manual
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 double value and unit of frequency, GHz

allowed:

doubleGHz

Default:

350

fWidth

GHz

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

allowed:

doubleGHz

Default:

0.008

fRes

GHz

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

allowed:

doubleGHz

Default:

0.002

Returns
int

Example

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

__________________________________________________________________


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