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

1.4.1 convert a doppler type value to a real radial velocity


Description

toradialvelocity will convert a Doppler type value (e.g. in radio mode) to a real radialvelocity. The type of velocity (e.g. LSRK) should be specified

Arguments





Inputs

rf

radial velocity reference type

allowed:

string

Default:

v0

doppler value measure

allowed:

record

Default:

Returns
record

Example

 
 
print "\t----\t toradialvelocity Ex 1 \t----"  
a = me.doppler(’radio’,’0.4’)  
print a  
#  Out[4]:  
#{’m0’: {’value’: 119916983.2, ’unit’: ’m/s’},  
# ’refer’: ’RADIO’,  
# ’type’: ’doppler’}  
print me.toradialvelocity(’topo’,a)  
#{’m0’: {’value’: 141078803.7647059, ’unit’: ’m/s’},  
# ’refer’: ’TOPO’,  
# ’type’: ’radialvelocity’}  
 

__________________________________________________________________


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