galpy.potential.Potential.vesc

Potential.vesc(R, t=0.0)[source]

Calculate the escape velocity at R for this potential.

Parameters:
  • R (float or Quantity) – Galactocentric radius.

  • t (float or Quantity, optional) – Time. Default: 0.0.

Returns:

Escape velocity.

Return type:

float or Quantity

Notes

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