vgsr_to_vhel

gala.coordinates.vgsr_to_vhel(coordinate, vgsr, vsun=None)[source]

Convert a radial velocity in the Galactic standard of rest (GSR) to a barycentric radial velocity.

Parameters
coordinateSkyCoord

An Astropy SkyCoord object or anything object that can be passed to the SkyCoord initializer.

vgsrQuantity

GSR line-of-sight velocity.

vsunQuantity

Full-space velocity of the sun in a Galactocentric frame. By default, uses the value assumed by Astropy in Galactocentric.

Returns
vhelQuantity

Radial velocity in a barycentric rest frame.