galpy.df.diskdf.__call__¶
- diskdf.__call__(*args, **kwargs)[source]¶
Evaluate the distribution function
- Parameters:
*args (tuple) –
- Either:
- Orbit instance or list:
Orbit instance alone: use initial condition
Orbit instance + t: call the Orbit instance (for list, each instance is called at t)
E,L - energy (/vo^2; or can be Quantity) and 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]
marginalizeVperp (bool, optional) – marginalize over perpendicular velocity (only supported with 1a) for single orbits above)
marginalizeVlos (bool, optional) – marginalize over line-of-sight velocity (only supported with 1a) for single orbits above)
nsigma (float, optional) – number of sigma to integrate over when marginalizing
**kwargs (dict, optional) – scipy.integrate.quad keywords
- Returns:
value of DF
- Return type:
float or numpy.ndarray
Notes
2010-07-10 - Written - Bovy (NYU)