plummer_nfw_constant_anisotropy_model#

jeanspy.model.plummer_nfw_constant_anisotropy_model

jeanspy.model.plummer_nfw_constant_anisotropy_model(data, photometry_prior_loc, photometry_prior_scale, config, *, vmem_prior_from_data=False, dtype=None)#

Compose Plummer + NFW + constant anisotropy with explicit finite priors.

config is a DataFrame or CSV in this order: vmem_kms, log10_re_pc, log10_rs_pc, log10_rhos_Msunpc3, log10_r_t_pc, log10_one_minus_beta_ani. The caller must supply config. A missing CSV raises FileNotFoundError; this constructor never writes a prior template. Caller velocity bounds are preserved unless vmem_prior_from_data is True. The preset supplies explicit SamplingParameter objects for these names; dtype follows SphericalDSphEstimationModel’s observation-storage contract.

Notes

Inputs and units. data is an observed DataFrame; config is a finite ordered prior DataFrame or CSV path; photometry_prior_loc/scale specify the Gaussian in log10(re_pc).

Returns and shape. SphericalDSphEstimationModel with the standard Plummer/NFW/constant-anisotropy components.

Validity. A convenience constructor does not choose scientifically justified prior bounds for the caller.

Errors. Missing CSV files raise FileNotFoundError. Invalid data or prior bounds/order raise ValueError; omitted config raises TypeError.

Backend. NumPy/SciPy CPU; stateful components, with no JAX tracing.

Differentiation. No physical-parameter automatic differentiation on this API.

Examples. examples/docs_inference.py