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.

insert_run_normalization(workflow, run_norm)

Insert providers for a specific normalization into a workflow.

merge_calibration(*, into, calibration)

Return a scipp.DataArray containing calibration metadata as coordinates.

normalize_by_monitor_histogram(detector, *, ...)

Normalize detector data by a histogrammed monitor.

normalize_by_monitor_integrated(detector, *, ...)

Normalize detector data by an integrated 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).

Classes

RunNormalization(value)

Type of normalization applied to each run.