galpy.df.impulse_deltav_plummer_curvedstream

galpy.df.impulse_deltav_plummer_curvedstream(v, x, b, w, x0, v0, GM, rs)[source]

NAME:

impulse_deltav_plummer_curvedstream

PURPOSE:

calculate the delta velocity to due an encounter with a Plummer sphere in the impulse approximation; allows for arbitrary velocity vectors, and arbitrary position along the stream

INPUT:

v - velocity of the stream (nstar,3)

x - position along the stream (nstar,3)

b - impact parameter

w - velocity of the Plummer sphere (3)

x0 - point of closest approach

v0 - velocity of point of closest approach

GM - mass of the Plummer sphere (in natural units)

rs - size of the Plummer sphere

OUTPUT:

deltav (nstar,3)

HISTORY:

2015-05-04 - Written based on above - SANDERS