|
|||
NRAO Home > CASA > CASA Toolkit Reference Manual |
|
measures.radialvelocity - Function
1.4.1 define a radialvelocity measure
Description
radialvelocity defines a radialvelocity measure from the CLI. It has to specify a
reference code, radialvelocity quantity value (see introduction for the action on
a scalar quantity with either a vector or scalar value),
and optionally it can specify an offset, which in itself has to be a
radialvelocity. Allowable reference codes are: LSRK LSRD BARY GEO TOPO
GALACTO LGROUP CMB.
Note that additional ones may become available. Check in CASA with:
print me.listcodes(me.radialvelocity())
# Out[17]:
#{’extra’: [],
# ’normal’: [’LSRK’, ’LSRD’, ’BARY’, ’GEO’, ’TOPO’, ’GALACTO’,
# ’LGROUP’, ’CMB’]}
The radialvelocity quantity values should be given as velocity.
Arguments
Inputs |
| ||
rf |
| reference code | |
| allowed: | string |
|
| Default: | LSRK | |
v0 |
| radial velocity
| |
| allowed: | any |
|
| Default: | variant
|
|
off |
| optional offset radialvelocity measure
| |
| allowed: | record |
|
| Default: |
|
|
record
Example
print "\t----\t radialvelocity Ex 2 \t----"
print me.radialvelocity(’lsrk’,’20km/s’)
# Out[18]:
#{’m0’: {’value’: 20000.0, ’unit’: ’m/s’},
# ’refer’: ’LSRK’,
# ’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