galpy.df.diskdf.__call__¶
- diskdf.__call__(*args, **kwargs)[source]¶
NAME:
__call__
PURPOSE:
evaluate the distribution function
INPUT:
either an orbit instance, a list of such instances, or E,Lz
Orbit instance or list: a) Orbit instance alone: use initial condition b) Orbit instance + t: call the Orbit instance (for list, each instance is called at t)
E - energy (/vo^2; or can be Quantity) L - angular momentun (/ro/vo; or can be Quantity)
array vxvv [3/4,nt] [must be in natural units /vo,/ro; use Orbit interface for physical-unit input)
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)