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

1.4.1 get the angular diameter of the current comet in the current frame


Description

cometdist returns the angular diameter (as seen from Earth) in AU of the current comet in the current frame, as a quantity. It will return -1 radians on failure!

Arguments





Inputs

Returns
record

Example

 
 
print "\t----\t cometangdiam Ex 1 \t----"  
# Directory with several Solar System ephemerides for setjy.  
cometdir = os.getenv("CASAPATH").split()[0] + "/data/ephemerides/JPL-Horizons/"  
me.framecomet(cometdir + "Ganymede_55438-56292dUTC.tab")  
#  Out[5]: True  
me.doframe(me.epoch("utc", "2011/01/03/17:00:00"))  
me.doframe(me.observatory("ALMA"))  
gad = me.cometangdiam()  
print gad  
# {’unit’: ’rad’, ’value’: 6.8679673431729014e-06}  
 

__________________________________________________________________


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