Isotropic NFW DF¶
- class galpy.df.isotropicNFWdf(pot=None, widrow=False, rmax=10000.0, ro=None, vo=None)[source]¶
Class that implements the approximate isotropic spherical NFW DF (either Widrow 2000 or an improved fit by Lane et al. 2021).
- __init__(pot=None, widrow=False, rmax=10000.0, ro=None, vo=None)[source]¶
Initialize an isotropic NFW distribution function
- Parameters:
pot (NFWPotential instance) – NFW Potential instance
widrow (bool, optional) – If True, use the approximate form from Widrow (2000), otherwise use improved fit that has <~1e-5 relative density errors
rmax (float or Quantity, optional) – Maximum radius to consider; set to numpy.inf to evaluate NFW w/o cut-off
ro (float or Quantity, optional) – Distance scale for translation into internal units (default from configuration file).
vo (float or Quantity, optional) – Velocity scale for translation into internal units (default from configuration file).
Notes
2021-02-01 - Written - Bovy (UofT)