astro/
velframe.pro
top source velframe
Astro
result = velframe(coords, galactic=galactic, vlsr=vlsr, vhelio=vhelio, vgsr=vgsr, frame=frame)
Converts radial velocities between Local Standard of Rest, Heliocentric and Galactocentric velocity frames.
Return value
Output radial velocity in desired frame, assuming no proper motion.
Parameters
- coords in
2-element vector of coordinates at which transformation is computed. Assumed to be decimal RA and Dec degrees unless /GALACTIC is specified.
Keywords
- galactic in
Input coordinates are in galactic coordinates rather than RA and Dec.
- vlsr in
Input velocity in LSR frame.
- vhelio in
Input velocity in heliocentric frame.
- vgsr in
Input velocity in Galactic standard of rest frame.
- frame in
Output frame. One of 'LSR', 'HELIO' or 'GSR'.
Examples
FIXME
Author information
- History:
Written by: Jeremy Bailin 13 Sept 2011 Initial writing
File attributes
| Modification date: | Tue Sep 13 14:57:58 2011 |
| Lines: | 57 |
![[attach.png]](../idldoc-resources/attach.png)