calamari.repeats.CombinedPoint#
- class calamari.repeats.CombinedPoint(value, error, n, internal, external, birge, weighted)#
Bases:
objectOne repeat group reduced to a single value, with its diagnostics.
- value#
The combined value: an inverse-variance weighted mean where usable errors were supplied, an unweighted mean otherwise. NaN for an empty group.
- Type:
- n#
How many points were actually combined – the number of finite values in the group, which is not the group’s row count when a column is blank on some rows. In an interleaved AC/DC file that is the normal case, not an error.
- Type:
- internal#
1 / sqrt(sum(1/sigma_i**2))– what the instrument’s own per-point errors imply. NaN when no usable errors were supplied.- Type:
- external#
The uncertainty implied by the observed scatter. Equal to
sigma_int * S, which for equal input errors reduces exactly to the familiars / sqrt(n). NaN forn < 2.- Type:
- birge#
The scale factor
S = sqrt(chi2/nu),nu = n - 1: how far the repeats disagree relative to how far their error bars say they should. 1 means “exactly as expected”. NaN forn < 2or when unweighted.- Type: