enclosed_mass_analytic#

jeanspy.model_jax.ZhaoModel.enclosed_mass_analytic

Class and construction: ZhaoModel.

ZhaoModel.enclosed_mass_analytic(r_pc, *, params)[source]#

Evaluate the Zhao incomplete-beta mass and its domain fallbacks.

Notes

Inputs and units. r_pc is scalar/array in pc; params is the Zhao physical dictionary. This method delegates to enclosed_mass_betainc and accepts no quadrature settings. Shape-parameter autodiff is not supported here; use enclosed_mass(method="numeric", ...) for it.

Returns and shape. Mass in Msun within min(r_pc, r_t_pc), matching radius shape. Invalid dynamic proposals yield NaN.

Parameters:
Return type:

jax.Array