ess.sans.i_of_q.bin_in_q#

ess.sans.i_of_q.bin_in_q(data, q_bins, dims_to_keep)[source]#

Merges data from all pixels into a single I(Q) spectrum:

  • In the case of event data, events in all bins are concatenated

  • In the case of dense data, counts in all spectra are summed

Parameters:
Returns:

CleanSummedQ[TypeVar(ScatteringRunType, ess.reduce.nexus.types.BackgroundRun (int), ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int)), TypeVar(IofQPart, types.Numerator (scipp.DataArray), types.Denominator (scipp.DataArray))] – The input data converted to Q and then summed over all detector pixels.