Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Spatial profiles

San Diego State University

Spatial profiles — model cards

Machine-generated from the provenance registry (ADR-0034): every model’s sources (with public DOI/arXiv/ADS pointers), governing equations, parameter meanings, code entry points, and the validation tests that pin them. The hand-authored theory pages hold the derivations; these cards are the citable single source of truth.

Plummer sphere

✅ verified · 5 equations · 2 sources · API: PlummerProfile

Cored, infinitely extended spherical density profile with an analytic inverse-CDF: the classic smooth model for young and idealized clusters and the standard N-body test problem.

Use it forNot for
✓ idealized/controlled N-body experiments (fully analytic chain: rho, M(<r), Phi, f(E))✗ tidally truncated clusters (no finite edge — use King/LIMEPY)
✓ smooth cored systems without tidal truncation✗ steep young-cluster outer slopes gamma < 5 (use EFF)
✓ differentiable pipelines needing a closed-form position sampler

Parameters

NameMeaningUnitsTypical rangeCode
r_h3-D half-mass radius; sets the scale radius a = r_h*sqrt(2^(2/3)-1)pc0.1–10PlummerProfile(r_h=...)

Equations

ρ(r)  =  3M4πa3[1+(ra) ⁣2]5/2\rho(r) \;=\; \frac{3\,M}{4\pi\,a^3}\,\biggl[1 + \biggl(\frac{r}{a}\biggr)^{\!2}\,\biggr]^{-5/2}

Symbols: ρ\rho: mass density [Msun / pc^3]; MM: total mass [Msun]; aa: Plummer scale radius [pc]. Assumes: spherical symmetry; isotropic (for the paired DF). Derivation: theory page.

M(<r)  =  Mr3(r2+a2)3/2M(<r) \;=\; M\,\frac{r^3}{(r^2 + a^2)^{3/2}}

Symbols: M(<r)M(<r): enclosed mass [Msun]. Assumes: spherical symmetry. Derivation: theory page.

a  =  rh22/31    0.7664rha \;=\; r_h\,\sqrt{2^{2/3} - 1}\;\approx\;0.7664\,r_h

Symbols: rhr_h: 3-D half-mass radius [pc]. Derivation: theory page.

σr2(r)  =  GM6r2+a2\sigma_r^2(r) \;=\; \frac{G\,M}{6\,\sqrt{r^2 + a^2}}

Symbols: σr\sigma_r: 1-D radial velocity dispersion [pc / Myr]; GG: gravitational constant (explicit, units-carried) [pc^3 / (Msun Myr^2)]. Assumes: isotropic Plummer DF. Derivation: theory page.

f(E)  =  2427π3a2G5M4(E)7/2,E<0f(E) \;=\; \frac{24\sqrt{2}}{7\pi^3}\,\frac{a^2}{G^5\,M^4}\,(-E)^{7/2}, \qquad E < 0

Symbols: EE: specific energy (bound: E < 0) [pc^2 / Myr^2]. Assumes: ergodic f(E); isotropic. Derivation: theory page.

Sources

Code & validation

King (1966) lowered isothermal

✅ verified · 4 equations · 1 source · API: KingProfile

Single-mass lowered-isothermal sphere: an isothermal core with a finite tidal cutoff, parameterised by the dimensionless central concentration W0. The standard model for old, dynamically relaxed globular clusters.

Use it forNot for
✓ old, dynamically relaxed globular clusters✗ young/expanding clusters with power-law halos (use EFF)
✓ tidally truncated systems needing a finite edge r_t✗ radially anisotropic systems (use Michie)
✗ generalized truncation g != 1 or multi-mass (use LIMEPY / Engine A)

Parameters

NameMeaningUnitsTypical rangeCode
W0dimensionless central potential Psi(0)/sigma_0^2; sets the concentration c = log10(r_t/r_c)dimensionless3–12 (supported to ~15)KingProfile.from_W0_rc(W0=...)
r_cKing core radius r_c^2 = 9 sigma_0^2 / (4 pi G rho_0)pc0.1–5KingProfile.from_W0_rc(r_c=...)

Equations

f(E)  =  {ρ1(2πσ02)3/2[e(Φ(rt)E)/σ021],E<Φ(rt)0,EΦ(rt)f(E) \;=\; \begin{cases} \rho_1\,(2\pi\sigma_0^2)^{-3/2}\,\bigl[\,e^{(\Phi(r_t)-E)/\sigma_0^2} - 1\,\bigr], & E < \Phi(r_t) \\ 0, & E \ge \Phi(r_t) \end{cases}

Symbols: EE: specific energy [pc^2 / Myr^2]; σ0\sigma_0: central velocity-scale parameter [pc / Myr]; ρ1\rho_1: density normalization [Msun / pc^3]. Assumes: isotropic; single-mass; lowered Maxwellian. Derivation: theory page.

ρ(W)  =  ρ1[eWerf(W)4W/π(1+23W)]\rho(W) \;=\; \rho_1 \cdot \bigl[\,e^W\,\mathrm{erf}(\sqrt{W}) - \sqrt{4W/\pi}\,(1 + \tfrac{2}{3}W)\,\bigr]

Symbols: WW: dimensionless potential Psi/sigma_0^2 [dimensionless]. Assumes: follows from integrating the lowered-Maxwellian DF over velocities. Derivation: theory page.

rc2  =  9σ024πGρ0r_c^2 \;=\; \frac{9\,\sigma_0^2}{4\pi G\,\rho_0}

Symbols: ρ0\rho_0: central density [Msun / pc^3]. Derivation: theory page.

c    log10 ⁣(rtrc)  =  log10(ξt)c \;\equiv\; \log_{10}\!\left(\frac{r_t}{r_c}\right) \;=\; \log_{10}(\xi_t)

Symbols: rtr_t: tidal (truncation) radius, the psi -> 0 crossing [pc]; ξt\xi_t: dimensionless tidal radius r_t/r_c [dimensionless]. Derivation: theory page.

Sources

Code & validation

EFF (1987) power-law halo

✅ verified · 3 equations · 1 source · API: EFFProfile

Cored profile with a power-law outer halo of 3-D slope gamma: the empirical fit to young LMC clusters. gamma = 5 recovers the Plummer sphere exactly; gamma <= 3 has divergent total mass, so a finite truncation radius r_t is carried in practice.

Use it forNot for
✓ young massive clusters with shallow power-law halos (LMC-style)✗ relaxed, tidally truncated globulars (use King)
✓ systems needing a tunable outer slope between Plummer and isothermal✗ gamma <= 3 without an explicit r_t (untruncated mass diverges)

Parameters

NameMeaningUnitsTypical rangeCode
acore scale radiuspc0.1–10EFFProfile(a=...)
gamma3-D density power-law slope (EFF87 fit the PROJECTED surface slope; 3-D ~ projected + 1)dimensionless3.2–7 (EFF87 surface slopes 2.2–3.2 map to 3-D ~3.2–4.2; gamma = 5 is Plummer)EFFProfile(gamma=...)
r_ttruncation radius (required for gamma <= 3; finite in practice)pc5–100EFFProfile(r_t=...)

Equations

ρ(r)  =  ρ0[1+(ra) ⁣2]γ/2\rho(r) \;=\; \rho_0\,\biggl[1 + \biggl(\frac{r}{a}\biggr)^{\!2}\,\biggr]^{-\gamma/2}

Symbols: ρ0\rho_0: central density [Msun / pc^3]; γ\gamma: 3-D power-law slope [dimensionless]. Assumes: spherical symmetry; 3-D (deprojected) slope convention. Derivation: theory page.

M(<r)  =  4π3ρ0r3  2F1 ⁣(32,γ2;52;r2a2)M(<r) \;=\; \frac{4\pi}{3}\,\rho_0\,r^3\; {}_2F_1\!\left(\tfrac{3}{2},\,\tfrac{\gamma}{2};\,\tfrac{5}{2};\,-\frac{r^2}{a^2}\right)

Symbols: M(<r)M(<r): enclosed mass (Gauss hypergeometric closed form) [Msun]. Assumes: spherical symmetry. Derivation: theory page.

Mtotal  =  4πρ0a3π4Γ ⁣(γ32)Γ ⁣(γ2)M_{\mathrm{total}} \;=\; 4\pi\,\rho_0\,a^3\,\frac{\sqrt{\pi}}{4}\, \frac{\Gamma\!\big(\tfrac{\gamma-3}{2}\big)}{\Gamma\!\big(\tfrac{\gamma}{2}\big)}

Symbols: Γ\Gamma: Euler gamma function [dimensionless]. Assumes: gamma > 3 (else the untruncated mass diverges). Derivation: theory page.

Sources

Code & validation

Michie (1963) anisotropic lowered isothermal

✅ verified · 1 equation · 2 sources · API: MichieProfile

The spatial side of the self-consistent Michie–King model: the density generated by the radially anisotropic Michie DF through its own radius-dependent Poisson equation. More extended than King at the same W0 (radial orbits push mass outward); r_a -> inf recovers King exactly.

Use it forNot for
✓ self-consistent radially anisotropic globular-cluster models✗ holding a fixed observed density (use the OM overlay on Plummer/EFF)
✓ systems where anisotropy should RESHAPE the density (not just the velocities)✗ r_a below the W0-dependent radial-orbit bound (1/r^2 tail, never truncates — construction raises)

Parameters

NameMeaningUnitsTypical rangeCode
W0dimensionless central potential (as King)dimensionless3–12MichieProfile(W0=...) / solve_michie_profile(W0=...)
r_ccore radius (King Eq. 15 normalization)pc0.1–5MichieProfile(r_c=...)
r_aanisotropy radius; smaller = more radial = more extended (larger r_t)pc>~ 3-4 r_c at W0=7 (below: raises ValueError)MichieProfile(r_a=...)

Equations

1ξ2ddξ ⁣(ξ2dψdξ)=9ρ^(ψ, ξ/r^a)ρ^(W0,0),ψ(0)=W0, ψ(0)=0\frac{1}{\xi^2}\frac{d}{d\xi}\!\left(\xi^2\frac{d\psi}{d\xi}\right) = -9\,\frac{\hat\rho(\psi,\ \xi/\hat r_a)}{\hat\rho(W_0,0)}, \qquad \psi(0)=W_0,\ \psi^\prime(0)=0

Symbols: ξ\xi: dimensionless radius r/r_c [dimensionless]; ψ\psi: dimensionless relative potential [dimensionless]. Assumes: the anisotropy-weighted density makes the RHS explicitly radius-dependent (unlike King). Derivation: theory page.

Sources

Code & validation

References
  1. Plummer, H. C. (1911). On the problem of distribution in globular star clusters. Monthly Notices of the Royal Astronomical Society, 71, 460–470. 10.1093/mnras/71.5.460
  2. Aarseth, S. J., Henon, M., & Wielen, R. (1974). A comparison of numerical methods for the study of star cluster dynamics. Astronomy and Astrophysics, 37, 183–187.
  3. King, I. R. (1966). The structure of star clusters. III. Some simple dynamical models. The Astronomical Journal, 71, 64–75. 10.1086/109857
  4. Elson, R. A. W., Fall, S. M., & Freeman, K. C. (1987). The structure of young star clusters in the Large Magellanic Cloud. The Astrophysical Journal, 323, 54–78. 10.1086/165807
  5. Michie, R. W. (1963). On the distribution of high energy stars in spherical stellar systems. Monthly Notices of the Royal Astronomical Society, 125, 127–139. 10.1093/mnras/125.2.127