galpy.df.impulse_deltav_general_fullplummerintegration

galpy.df.impulse_deltav_general_fullplummerintegration(v, x, b, w, x0, v0, galpot, GM, rs, tmaxfac=10.0, N=1000, integrate_method='symplec4_c')[source]

NAME:

impulse_deltav_general_fullplummerintegration

PURPOSE:

calculate the delta velocity to due an encounter with a moving Plummer sphere and galactic potential relative to just in galactic potential

INPUT:

v - velocity of the stream (nstar,3)

x - position along the stream (nstar,3)

b - impact parameter

w - velocity of the subhalo (3)

x0 - position of closest approach (3)

v0 - velocity of stream at closest approach (3)

galpot - Galaxy Potential object

GM - mass of Plummer

rs - scale of Plummer

tmaxfac(10) - multiple of rs/fabs(w - v0) to use for time integration interval

N(1000) - number of forward integration points

integrate_method(‘symplec4_c’) - orbit integrator to use (see Orbit.integrate)

OUTPUT:

deltav (nstar,3)

HISTORY:

2015-08-18 - SANDERS