ess.amor.normalize.normalize_by_supermirror#

ess.amor.normalize.normalize_by_supermirror(sample, supermirror)#

Normalize the sample measurement by the (ideally calibrated) supermirror.

Parameters
  • sample (DataArray) – Sample measurement with coords of ‘Q’ and ‘detector_id’.

  • supermirror (DataArray) – Supermirror measurement with coords of ‘Q’ and ‘detector_id’, ideally calibrated.

Returns

DataArray – normalized sample.