galpy.potential.vesc

galpy.potential.vesc(Pot, R, t=0.0)[source]

Calculate the escape velocity at R for potential Pot.

Parameters:
  • Pot (Potential or list of Potential instances) – Potential or list of Potential instances.

  • R (numpy.ndarray or Quantity) – Galactocentric radius.

  • t (float, optional) – Time (default is 0.0).

Returns:

Escape velocity.

Return type:

numpy.ndarray or Quantity

Notes

  • 2011-10-09 - Written - Bovy (IAS)