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.

Cluster builders & stellar relations

San Diego State University

Cluster builders & stellar relations — 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.

Cluster builders (build_cluster + named wrappers)

✅ verified · 1 equation · 1 source · API: build_cluster

The one-call IC convenience layer: build_cluster and the six named wrappers (Plummer/King/EFF/Michie/LIMEPY + from_params) are pure sugar over build_spatial_ic — bit-identical outputs — pairing each profile with its matched equilibrium DF (matched_velocity_df kills the mismatched-r_h footgun). A semantics card: the physics lives in the composed model cards.

Use it forNot for
✓ the recommended one-call entry point for standard cluster ICs✗ custom profile/DF cross-pairings (compose build_spatial_ic directly)
✓ Q=None (default) = faithful UNSCALED equilibrium from the matched DF✗ tidal_radius on non-Plummer profiles (they carry a native r_t; the kwarg is Plummer-only by design)

Parameters

NameMeaningUnitsTypical rangeCode
profilewhich model family to build (see that family’s card for its physics)build_cluster(profile=...) / build_king_cluster(...) etc.
Qoptional virial rescale target; None = no rescale (the DF’s own equilibrium)dimensionlessNone (or 0.5 to force-rescale, e.g. after rotation overlays)build_cluster(Q=...)

Equations

Q    TV,Q=12    2T+V=0Q \;\equiv\; \frac{T}{|V|}, \qquad Q = \tfrac12 \iff 2T + V = 0

Symbols: QQ: virial ratio (0.5 = equilibrium; < 0.5 subvirial/cold; > 0.5 supervirial) [dimensionless]. Assumes: matched profile+DF pairs land at Q = 0.5 WITHOUT rescale (finite-N fluctuation only).

Sources

Code & validation

Tout+1996 ZAMS stellar relations

✅ verified · 1 equation · 1 source

Zero-age-main-sequence L(M, Z) and R(M, Z) from the Tout et al. (1996) rational-polynomial fits (75/75 coefficients ledger-verified cell-by-cell against the PDF), with derived T_eff and log g. Internalized into progenax.stellar as the startrax placeholder.

Use it forNot for
✓ ZAMS photometric/structural labels for sampled masses (0.1-100 Msun, Z in [1e-4, 0.03])✗ evolved stars (ZAMS only; evolution is startrax’s future scope)
✓ differentiable M <-> L inversion (inverse_zams_luminosity, grad-audited)

Parameters

NameMeaningUnitsTypical rangeCode
Mstellar massMsun0.1–100 (fit range)zams_luminosity(M) / zams_radius(M) / ...
Zmetallicity (solar 0.02)dimensionless1e-4–0.03zams_luminosity(M, Z=...)

Equations

L(1M)=0.6977L,R(1M)=0.8882R,Teff5600K,logg4.54L(1\,M_\odot) = 0.6977\,L_\odot,\quad R(1\,M_\odot) = 0.8882\,R_\odot,\quad T_{\rm eff} \approx 5600\,{\rm K},\quad \log g \approx 4.54

Symbols: LL: ZAMS luminosity (the ZAMS Sun is FAINTER than today’s Sun — do not ‘fix’ to 1.0) [Lsun]. Assumes: Z = 0.02; anchors computed from the verified coefficients and pinned by test_zams_physics.

Sources

Code & validation

References
  1. 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.
  2. Tout, C. A., Pols, O. R., Eggleton, P. P., & Han, Z. (1996). Zero-age main-sequence radii and luminosities as analytic functions of mass and metallicity. Monthly Notices of the Royal Astronomical Society, 281, 257. 10.1093/mnras/281.1.257