measures.addxvalue - Function

1.3.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:

any

Default:

record

Returns
anyrecord

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’))  
#{}  
#  
"""

Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu

Copyright © 2008 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

Updated daily during alpha development.