vgsr_to_vhel¶
-
gala.coordinates.
vgsr_to_vhel
(coordinate, vgsr, vcirc=<Quantity 220.0 km / s>, vlsr=<Quantity [ 10., 5.25, 7.17] km / s>)[source]¶ Convert a radial velocity in the Galactic standard of rest (GSR) to a barycentric radial velocity.
Parameters: coordinate :
SkyCoord
An Astropy SkyCoord object or anything object that can be passed to the SkyCoord initializer.
vgsr :
Quantity
GSR line-of-sight velocity.
vcirc :
Quantity
Circular velocity of the Sun.
vlsr :
Quantity
Velocity of the Sun relative to the local standard of rest (LSR).
Returns: vhel :
Quantity
Radial velocity in a barycentric rest frame.