galpy.util.coords.cyl_to_rect_vec

galpy.util.coords.cyl_to_rect_vec(vr, vt, vz, phi)[source]

Transform vectors from cylindrical to rectangular coordinate vectors.

Parameters:
  • vr (float or numpy.ndarray) – Radial velocity.

  • vt (float or numpy.ndarray) – Rotational velocity.

  • vz (float or numpy.ndarray) – Vertical velocity.

  • phi (float or numpy.ndarray) – Azimuth.

Returns:

Rectangular coordinate vectors (vx, vy, vz).

Return type:

tuple

Notes

  • 2011-02-24 - Written - Bovy (NYU)