galpy.df.diskdf.__call__

diskdf.__call__(*args, **kwargs)[source]

Evaluate the distribution function

Parameters:
  • *args (tuple) –

    Either:
    1. Orbit instance or list:
      1. Orbit instance alone: use initial condition

      2. Orbit instance + t: call the Orbit instance (for list, each instance is called at t)

    2. E,L - energy (/vo^2; or can be Quantity) and angular momentun (/ro/vo; or can be Quantity)

    3. 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)