ess.sans.normalization.reduce_q#
- ess.sans.normalization.reduce_q(data, bands)[source]#
Reduce data by summing or concatenating along the wavelength dimension.
- Parameters:
data (
WavelengthScaledQ
[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
))]) – Numerator or denominator data to be reduced.wavelength_bands – Defines bands in wavelength that can be used to separate different wavelength ranges that contribute to different regions in Q space. Note that this needs to be defined, so if all wavelengths should be used, this should simply be a start and end edges that encompass the entire wavelength range.
- Returns:
ReducedQ
[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
))] – Q-dependent data, ready for normalization.