measures.source - Function

1.3.1 get direction of a source
Description

source will give you the direction of a source. The known list can be obtained by me.sourcelist().

Arguments





Inputs

name

name

allowed:

any

Default:

variant 1934-638

Returns
anyrecord

Example

"""  
#  
print "\t----\t source Ex 1 \t----"  
print me.source()  
print me.source(’1934-638’)  
#  Out[19]:  
#{’m0’: {’value’: -1.1370073467795063, ’unit’: ’rad’},  
# ’m1’: {’value’: -1.1119959323803881, ’unit’: ’rad’},  
# ’refer’: ’ICRS’,  
# ’type’: ’direction’}  
#  
"""

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.