mass_density_3d#

jeanspy.model.DMModel.mass_density_3d

Class and construction: DMModel.

abstractmethod DMModel.mass_density_3d(r_pc)[source]#

Evaluate spherical halo density in Msun/pc^3 at radius r_pc in pc.

This subclassing interface raises NotImplementedError. Concrete profiles specify array shapes, cutoff handling and behavior at a central cusp.