galpy.df.impulse_deltav_general_curvedstream

galpy.df.impulse_deltav_general_curvedstream(v, x, b, w, x0, v0, pot)[source]

Calculate the delta velocity to due an encounter with a general spherical potential in the impulse approximation; allows for arbitrary velocity vectors, and arbitrary position along the stream

Parameters:
  • v (numpy.ndarray) – velocity of the stream (nstar,3)

  • x (numpy.ndarray) – position along the stream (nstar,3)

  • b (float) – impact parameter

  • w (numpy.ndarray) – velocity of the subhalo (3)

  • x0 (numpy.ndarray) – point of closest approach

  • v0 (numpy.ndarray) – velocity of point of closest approach

  • pot (Potential object or list thereof) – Potential object or list thereof (should be spherical)

Returns:

velocity kick deltav (nstar,3)

Return type:

numpy.ndarray

Notes

  • 2015-05-04 - Written - Sanders (Cambridge)

  • 2015-06-15 - Tweak to use galpy’ potential objects - Bovy (IAS)