Skip to main content

Module counts_fit

Module counts_fit 

Source
Expand description

The areal densities of a sample’s isotopes, its temperature, and the sample run’s normalization and background, fitted to the counts of an open-beam run and a sample run recorded in the same time bins.

Structs§

CountsFit
The fitted densities, temperature, normalization and background.
Measurement
An open-beam run and a sample run recorded in the same time bins.

Enums§

Value
A quantity the fit holds at a known value, fits from a starting value over the quantity’s range, or fits from start within lower..=upper inside that range.

Constants§

NEGLIGIBLE_PREDICTION
A count in a bin predicted fewer counts than this has a chance below it under the model.

Functions§

fit_counts
Fit the areal densities, temperature, normalization and background terms of measurement that are not known to the raw counts of both runs. On a uniform grid of flight times u_i, energies E_i and step w, the counts in bin k are