Expand description
The areal densities and temperatures of the materials in one or more regions of the detector, each region’s background and gamma transmission, the sample run’s normalization, the time background, the timing offset, the flight path and the pulse’s numbers, fitted to the counts of an open-beam run and a sample run recorded in the same time bins.
Structs§
- Counts
Fit - The fitted quantities of every region, and the normalization, time background, timing offset, flight path and pulse numbers the regions share.
- Material
- A material’s isotopes and temperature.
- Measurement
- An open-beam run and a sample run recorded in the same time bins, read in one or more regions of the detector.
- Region
- The counts of a set of pixels in both runs, its background and the material the beam crosses there.
- Region
Fit - One region’s fitted quantities and counts.
- Room
Background - Counts that arrive at the same rate at every time of every frame, in
both runs alike, whatever the proton charge and whatever is in front of
the pixels, such as the detector’s dark counts:
ρper µs per pixel per frame,ρ · w_k · Fper pixel in a bin of widthw_kof a run ofFframes. - Spread
- A share
hof the counts arriving in each cell of a detector grid that the detector records elsewhere, spread by the radial kernelΣ_c w_c·exp(−r/s_c)/(2π s_c²)(transfer): regionrrecords(1 − h)·μ_r + h·Σ_q F_rq·μ_qof the countsμarriving in the regions in each bin of both runs,F_rqthe share of the spread counts arriving evenly over regionq’s cells that lands in regionr’s cells (region_shares). Cells in no region neither send nor record counts.
Enums§
- Value
- A quantity the fit holds at a known value, fits from a starting value
over the quantity’s range, fits from
startwithinlower..=upperinside that range, or fits over the range from avaluemeasured elsewhere with standard deviationsd, a Gaussian prior on it.
Constants§
- NEGLIGIBLE_
PREDICTION - A count in a bin predicted fewer counts than this has a chance below it under the model.
- NO_
TIME_ BACKGROUND - A
Measurement::time_backgroundof no counts.
Functions§
- fit_
counts - Fit the areal densities and temperatures of the regions’ materials, each
region’s background terms and gamma transmission, the normalization, the
time background, and the timing offset, flight path and pulse numbers of
calibration, that are not known, to the raw counts of both runs in every region. On a uniform grid of flight timesu_i, energiesE_iand stepw, the counts of regionrin binkare