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.

Initial mass functions

San Diego State University

Initial mass functions — 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.

Salpeter / Kroupa piecewise power law

✅ verified · 3 equations · 2 sources · API: PowerLawIMF

N-segment piecewise power-law IMF with continuity enforced at the breaks: Salpeter (1955) is the 1-segment classic, Kroupa (2001) the canonical multi-segment form with the observed low-mass turnover. Exact analytic CDF/PPF per segment (expm1-stable through alpha = 1, audit S4).

Use it forNot for
✓ literature-standard Salpeter/Kroupa populations and comparisons✗ gradient-based IMF inference as the production default — the segment breaks are C^0 kinks; prefer the SMOOTH Maschberger form (house default)
✓ exact segment-wise closed-form sampling (no solver)✗ smooth low-mass turnover shapes (use Chabrier or Maschberger)

Parameters

NameMeaningUnitsTypical rangeCode
exponentsper-segment slopes alpha_i (dN/dm proportional to m^-alpha_i); Salpeter 2.35, Kroupa (0.3, 1.3, 2.3)dimensionless0.3–2.7PowerLawIMF(exponents=[...])
breakpointsinterior segment breaks (Kroupa: 0.08, 0.5 Msun)Msun0.08–1.0PowerLawIMF(breakpoints=[...])
m_minlower mass limitMsun0.01–1PowerLawIMF(m_min=...)
m_maxupper mass limitMsun100–150PowerLawIMF(m_max=...)

Equations

ξ(m)  =  ξ0mα,α=2.35\xi(m) \;=\; \xi_0\,m^{-\alpha},\qquad \alpha = 2.35

Symbols: ξ(m)\xi(m): IMF in LINEAR mass, dN/dm (the log-mass slope is alpha - 1 = 1.35) [1 / Msun]. Assumes: valid for m >~ 1 Msun (no low-mass turnover). Derivation: theory page.

N(<m)/N  =  m1αmmin1αmmax1αmmin1αN(<m) / N \;=\; \frac{m^{1-\alpha} - m_{\min}^{1-\alpha}}{m_{\max}^{1-\alpha} - m_{\min}^{1-\alpha}}

Symbols: NN: cumulative count fraction [dimensionless]. Assumes: closed-form; inverted analytically for sampling; the alpha = 1 (and mean-mass alpha = 2) removable singularities use the expm1-stable kernels (progenax.numerics, audit S4) — gradients FD-exact AT the singular points. Derivation: theory page.

ξ(m)    {mα0,0.01m<0.08M(α0=0.3)mα1,0.08m<0.50M(α1=1.3)mα2,0.50m<1.00M(α2=2.3)mα3,1.00mmmax(α3=2.3)\xi(m) \;\propto\; \begin{cases} m^{-\alpha_0}, & 0.01 \le m < 0.08\,M_\odot & (\alpha_0 = 0.3) \\ m^{-\alpha_1}, & 0.08 \le m < 0.50\,M_\odot & (\alpha_1 = 1.3) \\ m^{-\alpha_2}, & 0.50 \le m < 1.00\,M_\odot & (\alpha_2 = 2.3) \\ m^{-\alpha_3}, & 1.00 \le m \le m_{\max} & (\alpha_3 = 2.3) \end{cases}

Symbols: αi\alpha_i: per-segment slope; continuity coefficients enforced at each break [dimensionless]. Assumes: alpha_2 = alpha_3 = 2.3, so the 3-segment merge used by PowerLawIMF.kroupa() is exact. Derivation: theory page.

Sources

Code & validation

Chabrier (2003) lognormal + power law

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

Lognormal low-mass body joined continuously to a Salpeter-like power-law tail at 1 Msun — the single-star (disk) IMF of Chabrier (2003). Smoother at low mass than a broken power law; the inverse CDF needs a fixed-iteration Newton solve.

Use it forNot for
✓ literature-standard Chabrier single-star populations✗ the fastest / cleanest-gradient sampling (no closed-form inverse; ~30 Newton steps per draw — the SMOOTH closed-form Maschberger is the house default)
✓ smooth low-mass turnover with the canonical disk parameters✗ system (unresolved-binary) IMF studies without switching to the Table-1 system parameters

Parameters

NameMeaningUnitsTypical rangeCode
m_clognormal characteristic mass (single-star disk value 0.079 Msun)Msun0.08 (single-star) – 0.22 (system)ChabrierIMF(m_c=...)
sigmalognormal width in log10 m (single-star disk 0.69)dex0.55–0.69ChabrierIMF(sigma=...)
alphahigh-mass power-law slope (linear-mass convention)dimensionless2.3ChabrierIMF(alpha=...)
m_translognormal-to-power-law transition massMsun1.0ChabrierIMF(m_trans=...)

Equations

ξ(m)    {1mln10exp ⁣[(log10mlog10mc)22σlogm2],m1Mmα3,m>1M\xi(m) \;\propto\; \begin{cases} \dfrac{1}{m\,\ln 10}\,\exp\!\Bigl[-\dfrac{(\log_{10} m - \log_{10} m_c)^2}{2\sigma_{\log m}^2}\Bigr], & m \le 1\,M_\odot \\ m^{-\alpha_3}, & m > 1\,M_\odot \end{cases}

Symbols: mcm_c: characteristic (peak) mass of the lognormal [Msun]; σlogm\sigma_{\log m}: lognormal width in dex [dex]. Assumes: single-star DISK parameters (not the system IMF); continuity enforced at m_trans. Derivation: theory page.

Sources

Code & validation

Maschberger (2013) L3 — the smooth house default

✅ verified · 2 equations · 1 source · API: Maschberger

The L3 IMF: one smooth analytic form that reproduces the Kroupa/Chabrier shape (Salpeter tail + low-mass turnover) with a CLOSED-FORM quantile function. progenax’s production default.

Use it forNot for
✓ PREFERRED over Kroupa/Chabrier as the production default: SMOOTH (C^inf, no breakpoint kinks) — exactly what gradient-based inference (HMC / Fisher forecasting) wants✗ matching a literature analysis that is DEFINED on Kroupa/Chabrier segments (use those forms for like-for-like comparisons)
✓ fast exact sampling: closed-form quantile, no solver, ~5x faster than Chabrier under vmap
✓ IMF-parameter inference (alpha, beta, mu are clean continuous knobs)

Parameters

NameMeaningUnitsTypical rangeCode
alphahigh-mass exponent (Salpeter-like tail)dimensionless2.3 (canonical single-star)Maschberger(alpha=...)
betalow-mass tapering exponentdimensionless1.4 (single-star; 2.0 system)Maschberger(beta=...)
muscale parameter (sets the turnover; NOT the peak mass itself)Msun0.2Maschberger(mu=...)

Equations

ξ(m)    (mμ) ⁣α[1+(mμ) ⁣1α]β\xi(m) \;\propto\; \biggl(\frac{m}{\mu}\biggr)^{\!-\alpha}\, \biggl[\,1 + \biggl(\frac{m}{\mu}\biggr)^{\!1-\alpha}\,\biggr]^{-\beta}

Symbols: μ\mu: scale parameter [Msun]; α\alpha: high-mass exponent [dimensionless]; β\beta: low-mass tapering exponent [dimensionless]. Assumes: alpha != 1, beta != 1 (the L3 parameterization); m >> mu: Salpeter tail; m << mu: turnover. Derivation: theory page.

m(u)  =  μ[(Pmin+u(PmaxPmin)C) ⁣1/(1β)1]1/(1α)m(u) \;=\; \mu\,\biggl[\biggl(\frac{P_{\min} + u\,(P_{\max} - P_{\min})}{C}\biggr)^{\!1/(1-\beta)} - 1\biggr]^{1/(1-\alpha)}

Symbols: uu: uniform draw in [0, 1] [dimensionless]; CC: mu/[(1-beta)(1-alpha)]: converts the primitive P to Maschberger’s auxiliary G, making this ALGEBRAICALLY IDENTICAL to his Table-1 quantile [Msun]. Assumes: closed-form: no Newton solve, no rejection — fully vmap-compatible and cleanly differentiable. Derivation: theory page.

Sources

Code & validation

Tapered power law (Parravano+2011 STPL)

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

Power law with an exponential low-mass taper — the Smoothed Two-Power Law of Parravano, McKee & Hollenbach (2011): power law at both ends, smoothly joined. Smooth like Maschberger but WITHOUT a closed-form inverse (fixed-iteration Newton ppf).

Use it forNot for
✓ the PMH11 galactic-disk IMF shape specifically✗ the production default (Maschberger has the same smoothness PLUS a closed-form quantile)
✓ smooth turnover with an independently tunable taper sharpness beta

Parameters

NameMeaningUnitsTypical rangeCode
alphapower-law slope (LINEAR-mass convention; PMH11’s log-mass Gamma = alpha - 1)dimensionless2.3TaperedPowerLaw(alpha=...)
m_peaktaper/turnover mass (PMH11’s m_ch)Msun0.3TaperedPowerLaw(m_peak=...)
betataper sharpness (PMH11’s gamma + Gamma exponent)dimensionless2.0TaperedPowerLaw(beta=...)

Equations

f(m)    mα(1e(m/mpeak)β)f(m) \;\propto\; m^{-\alpha}\,\Bigl(1 - e^{-(m/m_{\mathrm{peak}})^{\beta}}\Bigr)

Symbols: mpeakm_{\mathrm{peak}}: turnover mass (PMH11 m_ch) [Msun]; β\beta: taper sharpness [dimensionless]. Assumes: linear-mass convention: PMH11 write the log-mass slope Gamma = alpha - 1 and taper exponent gamma + Gamma = beta.

Sources

Code & validation

Truncated IMF (operator)

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

Wrapper applying hard m_min / m_max cutoffs to any base IMF, with the normalization recomputed on the truncated support. An operator card: the physics lives in the wrapped base IMF.

Use it forNot for
✓ cluster-mass-dependent upper limits (m_max(M_cl))✗ changing the SHAPE of the IMF (only the support is modified)
✓ regime studies with forced mass windows

Parameters

NameMeaningUnitsTypical rangeCode
base_imfany IMF implementing the shared protocolTruncatedIMF(base_imf=...)
m_minhard lower cutoffMsun0.01–1TruncatedIMF(m_min=...)
m_maxhard upper cutoffMsun5–150TruncatedIMF(m_max=...)

Equations

ξtrunc(m)  =  ξ(m)1[mminmmmax]mminmmaxξ(m)dm\xi_{\mathrm{trunc}}(m) \;=\; \frac{\xi(m)\,\mathbf{1}[m_{\min} \le m \le m_{\max}]}{\int_{m_{\min}}^{m_{\max}} \xi(m^\prime)\,\mathrm{d}m^\prime}

Symbols: 1[]\mathbf{1}[\cdot]: indicator of the truncated support [dimensionless]. Assumes: shape inherited from the base IMF; support and normalization replaced.

Sources

Code & validation

Environment-dependent IMF (Marks+2012 / Jerabkova+2018)

✅ verified · 2 equations · 2 sources · API: BirthEnvironment

The functional alpha_3(environment) relations: the high-mass IMF slope as a function of birth-cloud density and metallicity (the Marks+2012 fundamental-plane relation, erratum-corrected, as restated by Jerabkova+2018). progenax’s BirthEnvironment + env_to_imf_params — NOT a galaxy-wide IGIMF integration.

Use it forNot for
✓ top-heavy IMFs in dense / metal-poor birth environments (per-cluster alpha_3)✗ galaxy-wide IGIMF calculations (out of scope; no IGIMF class exists — audit R7)
✓ environment-dependent population synthesis inputs to the binary engine✗ sub-solar-mass slope changes (only alpha_3, and optionally alpha_1/alpha_2 via metallicity, respond)

Parameters

NameMeaningUnitsTypical rangeCode
rho_clbirth-cloud (pre-cluster core) densityMsun / pc^31e2–1e7BirthEnvironment(rho_cl=...)
Fe_Hmetallicity [Fe/H]dex-2 – +0.5BirthEnvironment(Fe_H=...)

Equations

α3(x^)  =  {0.4072x^+1.9383,x^0.872.3,x^<0.87\alpha_3(\hat x) \;=\; \begin{cases} -0.4072\,\hat x + 1.9383, & \hat x \ge -0.87 \\ 2.3, & \hat x < -0.87 \end{cases}

Symbols: x^\hat x: fundamental-plane coordinate (density-metallicity combination) [dimensionless]. Assumes: erratum-corrected threshold -0.87 (Jerabkova 2018 Eq. 6); canonical 2.3 below threshold. Derivation: theory page.

α3(logρcl,[Fe/H])  =  0.0572[Fe/H]0.4072log10 ⁣(ρcl106Mpc3)+1.9383\alpha_3(\log\rho_{\mathrm{cl}}, [\mathrm{Fe/H}]) \;=\; 0.0572\,[\mathrm{Fe/H}] - 0.4072\,\log_{10}\!\left(\frac{\rho_{\mathrm{cl}}}{10^6\,M_\odot\,\mathrm{pc}^{-3}}\right) + 1.9383

Symbols: ρcl\rho_{\mathrm{cl}}: birth-cloud density [Msun / pc^3]. Assumes: the Marks 2012 Eq. 15 plane in physical variables. Derivation: theory page.

Sources

Code & validation

Schechter exponential-cutoff IMF

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

Power law with an exponential high-mass cutoff, f(m) proportional to m^-alpha exp(-m/m_star) — Schechter’s (1976) galaxy-luminosity-function form repurposed as an IMF for extreme environments / IGIMF-style truncation studies.

Use it forNot for
✓ smooth (C^inf) high-mass suppression with a tunable cutoff scale m_star✗ the production default (no closed-form inverse; Newton ppf — use Maschberger)
✓ top-light IMF experiments where a hard m_max is too blunt✗ low-mass turnover shapes (no taper below m_star; combine with truncation)

Parameters

NameMeaningUnitsTypical rangeCode
alphapower-law slopedimensionless2.3Schechter(alpha=...)
m_starexponential cutoff scaleMsun10–100Schechter(m_star=...)

Equations

f(m)    mαem/mf(m) \;\propto\; m^{-\alpha}\, e^{-m/m_\star}

Symbols: mm_\star: exponential cutoff mass [Msun]. Assumes: fixed-iteration Newton ppf (no closed-form inverse); differentiable and JIT-safe.

Sources

Code & validation

References
  1. Salpeter, E. E. (1955). The luminosity function and stellar evolution. The Astrophysical Journal, 121, 161–167. 10.1086/145971
  2. Kroupa, P. (2001). On the variation of the initial mass function. Monthly Notices of the Royal Astronomical Society, 322, 231–246. 10.1046/j.1365-8711.2001.04022.x
  3. Chabrier, G. (2003). Galactic stellar and substellar initial mass function. Publications of the Astronomical Society of the Pacific, 115, 763–795. 10.1086/376392
  4. Maschberger, T. (2013). On the function describing the stellar initial mass function. Monthly Notices of the Royal Astronomical Society, 429, 1725–1733. 10.1093/mnras/sts479
  5. Parravano, A., McKee, C. F., & Hollenbach, D. J. (2011). An Initial Mass Function for Individual Stars in Galactic Disks. I. Constraining the Shape of the Initial Mass Function. The Astrophysical Journal, 726, 27. 10.1088/0004-637X/726/1/27
  6. Marks, M., Kroupa, P., Dabringhausen, J., & Pawlowski, M. S. (2012). Evidence for top-heavy stellar initial mass functions with increasing density and decreasing metallicity. Monthly Notices of the Royal Astronomical Society, 422, 2246–2254. 10.1111/j.1365-2966.2012.20767.x
  7. Jeřábková, T., Kroupa, P., Dabringhausen, J., Hilker, M., & Bekki, K. (2018). Impact of metallicity and star formation rate on the time-dependent, galaxy-wide stellar initial mass function. Astronomy and Astrophysics, 620, A39. 10.1051/0004-6361/201833055
  8. Schechter, P. (1976). An analytic expression for the luminosity function for galaxies. The Astrophysical Journal, 203, 297–306. 10.1086/154079