Expand description
The beam, in neutrons per µs of flight time, fitted to the open-beam counts it produces through the instrument pulse.
Structs§
- Calibration
- A neutron of flight time
uarrives att0_us + uplus a delay drawn frompulse, whose flight path setsufor each energy. - Open
Beam Fit - The fitted open beam.
Constants§
- BOUND
- Largest
Σ_k (μ_fine − μ_coarse)² / μ_fine, over bins predicted non-empty, by which halving the grid may change the predicted counts for the finer grid to be accepted.
Functions§
- fit_
open_ beam - Fit the beam to the raw open-beam counts
open_countsof the time binstime_edges_us(µs), each bin recording the fractionopen_liveof the neutrons arriving in it, or every one when that isNone.ln φ, the logarithm of the beam, is a cubic spline inln uwith knots from the first edge’s flight time to the last edge’s; outside them the beam is the spline’s continuation, which reaches the bins only through the pulse’s delay or, for a folded pulse, its early tail. Neutrons faster than the grid’s range, each reaching the bins with less thanNEGLIGIBLE_ARRIVAL_PROBABILITYchance, are left out.