Spherical models#

NumPy/SciPy#

jeanspy.model.AnisotropyModel([show_init, ...])

Subclassing interface for spherical anisotropy.

jeanspy.model.BaesAnisotropyModel([...])

Baes--van Hese spherical anisotropy with numerical LOS quadrature.

jeanspy.model.ConstantAnisotropyModel([...])

Constant spherical anisotropy beta(r)=beta_ani.

jeanspy.model.DMModel(*args, **kwargs)

Base class for NumPy/SciPy dark-matter density profiles.

jeanspy.model.DSphModel([show_init, submodels])

Composite spherical Jeans model for dwarf spheroidal systems.

jeanspy.model.ProjectedExponentialModel([...])

Stellar model with an exponential projected surface density.

jeanspy.model.NFWModel(*args, **kwargs)

Spherical NFW halo with a hard density cutoff at r_t_pc.

jeanspy.model.OsipkovMerrittModel([...])

Osipkov--Merritt spherical anisotropy with an analytic kernel.

jeanspy.model.PlummerModel([show_init, ...])

Unit-integral Plummer tracer; re_pc is its projected half-light radius.

jeanspy.model.SersicModel(*args[, ...])

Projected Sérsic stellar model with selectable 3-D deprojection.

jeanspy.model.StellarModel([show_init, ...])

Base class for projected/deprojected stellar-density models.

jeanspy.model.Uniform2dModel([show_init, ...])

Unit-integral uniform projected disk with radius Rmax_pc in pc.

jeanspy.model.ZhaoModel(*args, **kwargs)

General Zhao profile.

JAX#

jeanspy.model_jax.PlummerModel([submodels])

Plummer surface/volume density normalized so that int 2πR Σ(R) dR = 1.

jeanspy.model_jax.ZhaoModel([submodels])

Functional JAX Zhao halo with transition, outer and inner slopes.

jeanspy.model_jax.NFWModel([submodels])

Functional JAX NFW density and mass with a hard cutoff at r_t_pc.

jeanspy.model_jax.ConstantAnisotropyModel([...])

JAX constant spherical anisotropy, beta(r) = params["beta_ani"].

jeanspy.model_jax.BaesAnisotropyModel([...])

JAX Baes--van Hese anisotropy with a numerical LOS kernel.

jeanspy.model_jax.OsipkovMerrittModel([...])

JAX Osipkov--Merritt anisotropy with an analytic LOS kernel.

jeanspy.model_jax.DSphModel([submodels])

Spherical JAX Jeans model for LOS variance on fixed quadrature grids.

Specialized Baes anisotropy kernels#

jeanspy.baes_eta2.BaesEta2AnisotropyModel([...])

Baes--van Hese anisotropy with eta fixed to 2.

jeanspy.baes_eta2.DEFAULT_BAES_ETA2_KERNEL_N_QUAD

Default fixed quadrature node count for the eta=2 Baes kernel.

jeanspy.baes_eta2.baes_eta2_kernel_appell_reference(u, ...)

High-precision reference evaluation using mpmath.appellf1.

jeanspy.baes_eta2.baes_eta2_kernel_jax(u, ...)

Evaluate the eta=2 BAES kernel from its Appell-F1 representation.