atmosphere.getWetOpacitySpec - Function

4.1.1 get the integrated optical depth on each channel of a band
Description

Get the integrated optical depth on each channel in a band.

Arguments





Outputs

wetOpacity

mm-1

wet opacity for each channel in band - Quantum with a vector value and unit of mm-1

allowed:

doublemm-1

Default:

Inputs

spwid

Int standing for spectral window id (0-based)

allowed:

int

Default:

0

Returns
int

Example

In [16]: sw=at.getWetOpacitySpec()  
 
In [17]: sw[’wetOpacity’].value  
Out[17]:  
[1.7225454913767393,  
 1.7204246078103735,  
 1.7188614166349163,  
 1.7179243635081174,  
 1.7177278069990962,  
 1.7184525049248152,  
 1.7204244157129918,  
 1.7242351137518073]  
 
In [18]: sw[’return’]  
Out[18]: 8L  
 
Another example:  
for s in range(at.getNumSpectralWindows()):  
        print "band", s  
        for i in range(at.getNumChan(0)):  
                print " - dryOpacity ", at.getDryOpacitySpec(s)[’dryOpacity’][i], " wet Opacity/mm ", at.getWetOpacitySpec(s)[’wetOpacity’].value[i]  

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.