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

1.4.1 get some additional measure information


Description

addxvalue will give some additional information about some measures as a vector of quantities. It is used internally to get the rectangular coordinates of measures that are normally given in angles. The casual user will probably in general not interested in this function.

Arguments





Inputs

a

measures for which extra information is to be gotten

allowed:

record

Default:

Returns
record

Example

 
 
print "\t----\t addxvalue Ex 1 \t----"  
a=me.observatory(’atca’)  
print a  
#{’m0’: {’value’: 2.6101423190348916, ’unit’: ’rad’},  
# ’m1’: {’value’: -0.5261379196128062, ’unit’: ’rad’},  
# ’m2’: {’value’: 6372960.2577234386, ’unit’: ’m’},  
# ’refer’: ’ITRF’,  
# ’type’: ’position’}  
print me.addxvalue(a)  
#{’value’: [-4750915.8370000012, 2792906.1819999996, -3200483.747], ’unit’: ’m’}  
print me.addxvalue(me.epoch(’utc’,’today’))  
#{}  
 

__________________________________________________________________


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