Previous topic

DF

Next topic

galpy.df.diskdf.asymmetricdrift

This Page

galpy.df.diskdf.__call__

diskdf.__call__(*args, **kwargs)

NAME:

__call__

PURPOSE:

evaluate the distribution function

INPUT:

either an orbit instance, a list of such instances, or E,Lz

  1. Orbit instance or list: a) Orbit instance alone: use vxvv member b) Orbit instance + t: call the Orbit instance (for list, each instance is called at t)
  2. E - energy (/vo^2) L - angular momentun (/ro/vo)
  3. array vxvv [3/4,nt]

KWARGS:

marginalizeVperp - marginalize over perpendicular velocity (only supported with 1a) for single orbits above)

marginalizeVlos - marginalize over line-of-sight velocity (only supported with 1a) for single orbits above)

nsigma= number of sigma to integrate over when marginalizing

+scipy.integrate.quad keywords

OUTPUT:

DF(orbit/E,L)

HISTORY:

2010-07-10 - Written - Bovy (NYU)