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 :
SkyCoordAn Astropy SkyCoord object or anything object that can be passed to the SkyCoord initializer.
vhel :
QuantityBarycentric line-of-sight velocity.
vcirc :
QuantityCircular velocity of the Sun.
vlsr :
QuantityVelocity of the Sun relative to the local standard of rest (LSR).
Returns: vgsr :
QuantityRadial velocity in a galactocentric rest frame.