NRAO Home > CASA > CASA Toolkit Reference Manual
measures.getvalue - Function

1.4.1 get the value of a measure


Description

getvalue gets the actual implementation value of the measure.

Arguments





Inputs

v

measure (array of measures)

allowed:

record

Default:

Returns
record

Example

 
 
print "\t----\t getvalue Ex 1 \t----"  
b=me.direction(’j2000’,’0deg’,’80deg’)  
print me.getvalue(b)  
#{’m0’: {’value’: 0.0, ’unit’: ’rad’},  
# ’m1’: {’value’: 1.3962634015954634, ’unit’: ’rad’}}  
 

__________________________________________________________________


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