galpy.df.evolveddiskdf.__call__

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

Evaluate the distribution function

Parameters:
  • *args (tuple) –

    Either:
    1. Orbit instance alone: use initial state and t=0

    2. Orbit instance + t: Orbit instance NOT called (i.e., Orbit’s initial condition is used, call Orbit yourself), t can be Quantity

    If t is a list of t, DF is returned for each t, times must be in descending order and equally spaced (does not work with marginalize…)

  • 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)

  • integrate_method (str, optional) – orbit.integrate method argument

  • log (bool, optional) – if True, return the log (not for deriv, bc that can be negative)

  • deriv (str, optional) – None, ‘R’, or ‘phi’: calculates derivative of the moment wrt R or phi not with the marginalize options

  • **kwargs (dict, optional) – scipy.integrate.quad keywords

Returns:

value of DF

Return type:

float or numpy.ndarray

Notes

  • 2011-03-30 - Written - Bovy (NYU)

  • 2011-04-15 - Added list of times option - Bovy (NYU)