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

1.4.1 set the current comet table


Description

framecomet will put the specified comet table in the frame.

Arguments





Inputs

v

name of a table

allowed:

string

Default:

Returns
bool

Example

 
 
print "\t----\t framecomet Ex 1 \t----"  
print me.framecomet(’VGEO’)  
#True  
print me.showframe()  
#’Frame: VENUS comet between MJD 50802.7 and 50803.1’  
print me.cometname()  
#’VENUS’  
print me.comettype()  
#’APP’  
print me.doframe(me.epoch(’et’,qa.quantity(’1997/12/20/17:30:0’)))  
#True  
print me.measure(me.direction(’comet’),’app’)  
#{’m0’: {’value’: -0.94936485919663083, ’unit’: ’rad’},  
# ’m1’: {’value’: -0.34710256485894436, ’unit’: ’rad’},  
# ’refer’: ’APP’,  
# ’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