# galpy.df.impulse_deltav_general_orbitintegration¶

galpy.df.impulse_deltav_general_orbitintegration(v, x, b, w, x0, v0, pot, tmax, galpot, tmaxfac=10.0, nsamp=1000, integrate_method='symplec4_c')[source]

NAME:

impulse_deltav_general_orbitintegration

PURPOSE:

calculate the delta velocity to due an encounter with a general spherical potential NOT in the impulse approximation by integrating each particle in the underlying galactic potential; allows for arbitrary velocity vectors and arbitrary shaped streams.

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)

pot - Potential object or list thereof (should be spherical)

tmax - maximum integration time

galpot - galpy Potential object or list thereof

nsamp(1000) - number of forward integration points

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

OUTPUT:

deltav (nstar,3)

HISTORY:

2015-08-17 - SANDERS