Weight births, not the length of the curve
For a constant return fraction, the mass locked into a stellar cohort during a short interval is proportional to the integral of the formation rate over that interval. A rapidly moving abundance track can contain very little stellar birth mass, while a slowly moving segment can contain much more. Normalizing these cohort masses gives the birth-mixture weights.
This is a population weighted by initial stellar birth mass, or equivalently by locked mass when the return fraction is constant. It is not yet a catalogue of present-day red giants. Red-giant lifetimes, luminosity cuts and membership selection require another weighting.
If abundance rises monotonically, changing variables from birth time to abundance introduces the inverse rate of abundance change. If a track loops, every birth-time branch must be included. A mixture over saved time intervals handles that without pretending that iron abundance is always a clock.
Reading: Independent one-zone chemical-evolution Python materials
Average material before taking its logarithm
A birth group spanning an interval can have a changing gas composition. Average its element mass fractions with the formation-mass weights first, then convert those means into logarithmic abundances. Averaging already logarithmic values describes a different quantity.
For a worked example, let two portions have iron fractions 0.1 and 1 times the solar fraction, with birth masses in the ratio one to nine. Their mass-weighted fraction is 0.91 solar, whose bracket value is about minus 0.04096 dex. Averaging the two bracket values instead gives minus 0.1 dex. Neither arithmetic operation can be substituted for the other without changing the definition.
With the hydrogen fraction held at the same declared value as the solar conversion, the mass-fraction ratios map to the usual iron and magnesium-to-iron brackets. The atomic-mass factors cancel when the same element ratio is divided by its solar counterpart. Variable hydrogen enrichment would require a new conversion using the changing hydrogen fraction.
Reading: Independent one-zone chemical-evolution Python materials · VICE v1.3.1 fixed effective yields and solar reference
The iron measurement appears on both axes
Write a measured iron error as and an independently measured absolute magnesium error as . The errors in iron abundance and magnesium-to-iron ratio are then and minus . The same iron error therefore enters them with opposite signs. Even independent absolute elemental errors generate a negative covariance in these plotted coordinates.
For independent errors of 0.10 dex in iron and 0.08 dex in absolute magnesium, the ratio error is about 0.12806 dex and the correlation coefficient is about minus 0.78087. The covariance matrix below follows from a linear coordinate transformation; it is not a measured covariance matrix for the Hill stars.
Reading: Independent one-zone chemical-evolution Python materials · Hill et al., VLT/FLAMES high-resolution chemical abundances in Sculptor, arXiv:1812.01486v2
Build a proper measurement density
Let each cohort mean be a point in the two abundance coordinates. For a measured star, place a normalized two-dimensional Gaussian around each cohort mean using that star's marginal measurement errors and an explicitly assumed correlation. The weighted sum is a mixture density. The determinant in the Gaussian normalization matters as much as the exponent.
A Gaussian is a bell-shaped cloud of measurement error around a modelled true value. A positive-definite covariance gives a positive variance in every direction. For marginal standard deviations and and correlation , this requires , and .
The determinant below controls the squared area scale of that cloud. Its square root has units of square dex and appears in the normalization; the inverse covariance weights deviations along the different directions of the error ellipse.
Reading: Independent one-zone chemical-evolution Python materials
What a score can and cannot establish
The package reads saved measurements and saved cohort records to sum natural log densities. A density can exceed one because its units are inverse square dex; that is not a probability exceeding one. Correlations of minus 0.7, zero and plus 0.7 are separate sensitivity assumptions, not measurements of the unknown catalogue covariance. A model-axis offset of plus or minus 0.1 dex is likewise a scenario, not a calibrated solar correction.
The first attempted birth intervals of 0.02 and 0.01 gigayears gave a mean absolute change in per-star log density of about 0.08499, beyond the registered 0.01 gate. Accurate gas inventories did not rescue it. The finer 0.005 versus 0.0025 intervals pass the finite checks for four histories, both samples and the declared covariance and offset scenarios; a separate positive quadrature checks the observation integral.
For a real red-giant sample, unknown selection and shared abundance errors remain. The density is therefore a conditional teaching comparison, not a calibrated likelihood for a unique galaxy history. The held-out comparison uses these same conditional assumptions, including the unit birth-mass selection.
Reading: Independent one-zone chemical-evolution Python materials · Hill et al., VLT/FLAMES high-resolution chemical abundances in Sculptor, arXiv:1812.01486v2