|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
atmosphere.getWetOpacitySpec - Function
4.1.1 get the integrated zenith Wet Opacity along the atmospheric path on each
channel of a band
Description
Getthe integrated zenith Wet Opacity along the atmospheric path 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). The value
must be >= 0.
| |
| allowed: | int |
|
| Default: | 0 |
|
int
Example
sw=at.getWetOpacitySpec()
# returns a tuple of
# 0 - The number of channels and
# 1 - an quantity array of wet opacity for each channel in band
sw[1][’value’]
# array([1.7225454913767393, 1.7204246078103735,
# 1.7188614166349163, 1.7179243635081174,
# 1.7177278069990962, 1.7184525049248152,
# 1.7204244157129918, 1.7242351137518073])
sw[0]
# 8
Another example:
for s in range(at.getNumSpectralWindows()):
print "band", s
for i in range(at.getNumChan(0)):
print " - dryOpacity ", at.getDryOpacitySpec(spwid=s)[1][i], " wet Opacity/mm ",\
at.getWetOpacitySpec(spwid=s)[1][’value’][i]
__________________________________________________________________
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