mass_density_3d#
jeanspy.model.ZhaoModel.mass_density_3d
Class and construction: ZhaoModel.
- ZhaoModel.mass_density_3d(r_pc)[source]#
Evaluate spherical halo density.
Notes
Inputs and units.
r_pcin pc, scalar or NumPy array; reads the model’s stored physical parameters.Returns and shape. Msun/pc^3 with input shape; zero for r > r_t_pc. The density includes the boundary r = r_t_pc; cusps can diverge at r=0. Invalid physical domains raise ValueError.