NRAO Home > CASA > CASA Toolkit Reference Manual
atmosphere.getWetOpacity - Function

4.1.1 get the integrated Wet Opacity along the atmospheric path for channel nc in spectral window spwid


Description

Get the integrated Wet Opacity for one channel in a band.

Arguments





Inputs

nc

Channel number (0-based; defaults to reference channel)

allowed:

int

Default:

-1

spwid

Int standing for spectral window id (0-based). The value must be >= 0.

allowed:

int

Default:

0

Returns
Quantity

Example

 
 
for i in range(at.getNumSpectralWindows()):  
        for j in range(at.getNumChan(i)):  
                print "Frequency: ", at.getChanFreq(j, i)[’value’][0], at.getChanFreq(j, i)[’unit’]  
                print "Wet opacity:", at.getWetOpacity(j, i)[’value’][0], at.getWetOpacity(j, i)[’unit’],\  
                      " for ", at.getUserWH2O()[’value’][0], at.getUserWH2O()[’unit’], " H2O"  
 
 

__________________________________________________________________


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