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

1.4.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
record

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’}  
 

__________________________________________________________________


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