ess.sans.i_of_q.resample_direct_beam
ess.sans.i_of_q.resample_direct_beam#
- ess.sans.i_of_q.resample_direct_beam(direct_beam, wavelength_bins)#
If the wavelength binning of the direct beam function does not match the requested
wavelength_bins
, perform a 1d interpolation of the function onto the bins.- Parameters
- Returns
DataArray
– The direct beam function resampled to the requested resolution.