vhel_to_vgsr¶
-
gala.coordinates.
vhel_to_vgsr
(coordinate, vhel, vcirc=<Quantity 220.0 km / s>, vlsr=<Quantity [ 10., 5.25, 7.17] km / s>)[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.
vcirc :
Quantity
Circular velocity of the Sun.
vlsr :
Quantity
Velocity of the Sun relative to the local standard of rest (LSR).
Returns: vgsr :
Quantity
Radial velocity in a galactocentric rest frame.