density#
jeanspy.model.AxisymmetricZhaoModel.density
Class and construction: AxisymmetricZhaoModel.
- AxisymmetricZhaoModel.density(R, z)[source]#
Evaluate halo density in Msun/pc^3 at cylindrical coordinates R,z in pc.
Coordinates broadcast and must be finite/nonempty with R>=0, otherwise ValueError is raised. Density is zero beyond the ellipsoidal cutoff; a positive central cusp diverges at the origin.