enclosed_mass#

jeanspy.model.NFWModel.enclosed_mass

Class and construction: NFWModel.

NFWModel.enclosed_mass(r_pc)[source]#

Evaluate analytic NFW mass inside a finite spherical radius.

Notes

Inputs and units. r_pc in pc, scalar or NumPy array. Reads the stored NFW scales and cutoff; no numerical-integration option is needed.

Returns and shape. Msun within min(r_pc,``r_t_pc``), with input shape.