mass_density_3d#

jeanspy.model_jax.NFWModel.mass_density_3d

Class and construction: NFWModel.

NFWModel.mass_density_3d(r_pc, *, params)[source]#

Evaluate functional spherical halo density.

Notes

Inputs and units. r_pc is scalar/array in pc; params is a physical scalar dictionary.

Returns and shape. Density in Msun/pc^3 with radius shape; zero for r > r_t_pc, including the boundary r = r_t_pc in the halo. Invalid dynamic domains yield NaN; cusps can diverge at r=0.

Parameters:
Return type:

jax.Array