ess.sans.i_of_q#

Functions

bin_in_q(data, q_bins, dims_to_keep)

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

bin_in_qxy(data, qx_bins, qy_bins, dims_to_keep)

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

preprocess_monitor_data(monitor, ...)

Prepare monitor data for computing the transmission fraction.

resample_direct_beam(direct_beam, ...)

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.

subtract_background(sample, background, ...)

subtract_background_xy(sample, background, ...)