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]¶
NAME:
__init__
PURPOSE:
Initialize an isotropic NFW distribution function
INPUT:
pot= (None) NFW Potential instance
widrow= (False) if True, use the approximate form from Widrow (2000), otherwise use improved fit that has <~1e-5 relative density errors
rmax= (1e4) maximum radius to consider (can be Quantity); set to numpy.inf to evaluate NFW w/o cut-off
ro=, vo= galpy unit parameters
OUTPUT:
None
HISTORY:
2021-02-01 - Written - Bovy (UofT)