galpy.util.coords.cov_galcenrect_to_galcencyl

galpy.util.coords.cov_galcenrect_to_galcencyl(cov_galcenrect, phi)[source]

Propagate uncertainties in galactocentric rectangular to galactocentric cylindrical coordinates

Parameters:
  • cov_galcenrect (numpy.ndarray) – Uncertainty covariance in vx,vy,vz [3,3] or [:,3,3]

  • phi (float or numpy.ndarray) – Angular position of star in Galactocentric cylindrical coords [rad]

Returns:

cov(vR,vT,vz) [3,3] or [:,3,3]

Return type:

numpy.ndarray

Notes

  • 2018-03-22 - Written - Mackereth (LJMU)

  • 2020-09-21- Moved to coords.py - Mackereth (UofT)