ess.powder.correction.normalize_by_vanadium_dspacing#

ess.powder.correction.normalize_by_vanadium_dspacing(data, vanadium, uncertainty_broadcast_mode)[source]#

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

Parameters:
  • data (FocussedDataDspacing[ess.reduce.nexus.types.SampleRun (int)]) – Sample data.

  • vanadium (FocussedDataDspacing[ess.reduce.nexus.types.VanadiumRun (int)]) – Vanadium data.

  • uncertainty_broadcast_mode (UncertaintyBroadcastMode) – Choose how uncertainties of vanadium are broadcast to the sample data. Defaults to UncertaintyBroadcastMode.fail.

Return type:

ess.powder.types.IofDspacing (scipp.DataArray)