Expand description
Separate open-beam and sample count response in detector time.
A detector does not observe a blurred transmission ratio. For discrete
true-energy quadrature points E_j, the two physical arms are
O_i = sum_j F_j R_i(E_j)
S_i = sum_j F_j T_j R_i(E_j)F_j is the incident fluence weight at true energy E_j — the incident
flux density × detector efficiency × the caller’s energy-integration
weight, the discrete form of the contract’s Φ·ε (pipeline-map R5·7:
detector efficiency is folded into F_j, never a separate silent factor).
T_j is the sample transmission before instrument response, and
R_i(E_j) is the probability that a neutron at E_j lands between the
actual detector time edges of bin i.
Keeping F_j as an already-integrated weight is deliberate: this operator
never guesses energy-bin widths from centers. A caller using a continuous
source spectrum must choose and disclose its energy quadrature, then pass
F_j = w_j ε(E_j) Φ(E_j). The detector-time integration itself is
performed by the response model over the supplied measured bin edges.
The timing_offset_us handed to the response is convention-dependent
(mode-relative for tabulated kernels, emission-onset-relative for the
analytical Ikeda–Carpenter pulse); see
ResolutionFunction::detector_bin_probabilities — a calibrated offset
is not transferable between response variants.
Structs§
- ArmCount
Prediction - Signal, additive background, and total expected counts for one measured arm.
- Detector
BinResponse Matrix - Detector-bin probabilities for a fixed instrument response.
- TwoArm
Count Prediction - Complete expected counts for the open-beam and sample measurements.
- TwoArm
Counts - Expected detector-bin counts for the open-beam and sample measurements.
Enums§
- Counts
Response Error - Invalid inputs or unsupported response models for
two_arm_count_response.
Functions§
- add_
count_ backgrounds - Add detector-bin backgrounds to an already evaluated two-arm neutron signal.
- two_
arm_ count_ response - Apply one instrument response to the open-beam and sample arms separately.