ess.sans.normalization.normalize

ess.sans.normalization.normalize

ess.sans.normalization.normalize(numerator, denominator)

Perform normalization of counts as a fucntion of Q. If the numerator contains events, we use the sc.lookup function to perform the division.

Parameters
  • numerator (scipp._scipp.core.DataArray) – The data whose counts will be divided by the denominator. This can either be event or dense (histogrammed) data.

  • denominator (scipp._scipp.core.DataArray) – The divisor for the normalization operation. This cannot be event data, it must contain histogrammed data.

Return type

scipp._scipp.core.DataArray