ess.sans.normalization.norm_detector_term_numerator#

ess.sans.normalization.norm_detector_term_numerator(detector)[source]#

A dummy provider to convert CorrectedDetector into DetectorTerm. This is added instead of having the masking operation directly return the DetectorTerm, as it is more consistent that Denominator and Numerator have a CorrectedDetector step. We also do not make compute_Q() accept the CorrectedDetector directly, because this would lead to complications when we want to swap it out for compute_Qxy().

Return type:

DetectorTerm[TypeVar(RunType), types.Numerator (scipp.DataArray)]