ess.nmx.scaling.get_reference_wavelength#
- ess.nmx.scaling.get_reference_wavelength(binned, reference_wavelength)[source]#
Select the reference wavelength.
- Parameters:
binned (
scaling.WavelengthBinned
(scipp.DataArray
)) – The wavelength binned data.reference_wavelength (
scaling.ReferenceWavelength
(types.scipp._scipp.core.Variable | None
)) – The reference wavelength to select the intensities. IfNone
, the middle group is selected. It should be a scalar variable as it is selecting one of bins.
- Return type: