reflex_correct¶
-
gala.coordinates.
reflex_correct
(coords, galactocentric_frame=None)[source]¶ Correct the input Astropy coordinate object for solar reflex motion.
The input coordinate instance must have distance and radial velocity information. If the radial velocity is not known, fill the
- Parameters
- coords
SkyCoord
The Astropy coordinate object with position and velocity information.
- galactocentric_frame
Galactocentric
(optional) To change properties of the Galactocentric frame, like the height of the sun above the midplane, or the velocity of the sun in a Galactocentric intertial frame, set arguments of the
Galactocentric
object and pass in to this function with your coordinates.
- coords
- Returns
- coords
SkyCoord
The coordinates in the same frame as input, but with solar motion removed.
- coords