ess.powder.correction#

Correction algorithms for powder diffraction.

Module Attributes

providers

Sciline providers for powder diffraction corrections.

Functions

apply_lorentz_correction(da)

Perform a Lorentz correction for ToF powder diffraction data.

merge_calibration(*, into, calibration)

Return a scipp.DataArray containing calibration metadata as coordinates.

normalize_by_monitor(data, *, monitor[, ...])

Normalize event data by a monitor.

normalize_by_proton_charge(data, proton_charge)

Normalize data by an accumulated proton charge.

normalize_by_vanadium_dspacing(data, ...)

Normalize sample data by a vanadium measurement and return intensity vs d-spacing.

normalize_by_vanadium_dspacing_and_two_theta(...)

Normalize sample data by a vanadium measurement and return intensity vs (d-spacing, 2theta).