resolve_params#
jeanspy.model_jax.NFWModel.resolve_params
Class and construction: NFWModel.
- NFWModel.resolve_params(params)[source]#
Resolve NFW scales and cache their mass coefficient as JAX arrays.
Requires rs_pc and r_t_pc in pc, and rhos_Msunpc3 in Msun/pc^3; a missing key raises KeyError. Returns those entries and nfw_mass_coeff in Msun. Continuous expressions are differentiable; physical-domain validation is performed by the mass/likelihood paths that consume them.