ess.sans.normalization.norm_detector_term#

ess.sans.normalization.norm_detector_term(solid_angle, direct_beam, uncertainties)[source]#

Compute the detector-dependent contribution to the denominator term of I(Q).

This is basically solid_angle * direct_beam. If the direct beam is not supplied, it is assumed to be 1.

Keeping the monitor term separate from the detector term allows us to compute the the latter only once when repeatedly processing chunks of events in streamed data processing, e.g., for live data reduction.

Because the multiplication between the pixel-dependent solid angle and the (potentially) pixel-independent direct beam constitutes a broadcast operation which would introduce correlations, variances of the direct beam are dropped or replaced by an upper-bound estimation, depending on the configured mode.

Parameters:
Returns:

WavelengthDetector[TypeVar(RunType), types.Denominator (scipp.DataArray)] – Detector-dependent factor of the normalization term for the SANS I(Q).