vhel_to_vgsr#
- gala.coordinates.vhel_to_vgsr(coordinate, vhel, vsun)[source]#
Convert a velocity from a heliocentric radial velocity to the Galactic standard of rest (GSR).
- Parameters:
- coordinate
SkyCoord
An Astropy SkyCoord object or anything object that can be passed to the SkyCoord initializer.
- vhel
Quantity
Barycentric line-of-sight velocity.
- vsun
Quantity
Full-space velocity of the sun in a Galactocentric frame. By default, uses the value assumed by Astropy in
Galactocentric
.
- coordinate
- Returns:
- vgsr
Quantity
Radial velocity in a galactocentric rest frame.
- vgsr