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

4.1.1 Returns equiv. BB Temp on each channel of a band


Description

Gets the Equivalent Blackbody Temperatures in a spectral window spwid for Water Vapor Column wh2o, the current Air Mass, and perfect Sky Coupling to the sky.

Arguments





Outputs

tebbSky

K

the Equivalent Blackbody Temperatures in a band - Quantum with a vector value and unit of K

allowed:

doubleK

Default:

Inputs

spwid

Spectral window (0-based). The value must be >= 0.

allowed:

int

Default:

0

wh2o

mm

User specified water column length in mm. Default is not to use wh2o.

allowed:

doublemm

Default:

-1

Returns
int

Example

 
sw=at.getWetOpacitySpec()  
# returns a tuple of  
# 0 - The number of channels, and  
# 1 - the Equivalent Blackbody Temperatures in a band  
sw[1][’value’]  
# [34.687910103670511,  
#  35.496193465331679,  
#  36.460355664151791,  
#  37.419146813713745,  
#  37.9452005127634,  
#  38.722631196093729,  
#  39.593561594172662,  
#  40.528694048924017]  
 
sw[0]  
# 8  
 
Another example:  
for s in range(at.getNumSpectralWindows()):  
        print "band", s  
        tebbspec = at.getTebbSkySpec(spwid=s)  
        for i in range(at.getNumChan(s)):  
                print " - TebbSky %f [%s] " % (tebbspec[1][’value’][i],tebbspec[1][’unit’])  
 

__________________________________________________________________


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