ess.amor.calibrations.supermirror_calibration

ess.amor.calibrations.supermirror_calibration

ess.amor.calibrations.supermirror_calibration(data_array, m_value=None, critical_edge=None, alpha=None)

Calibrate supermirror measurements

Parameters
  • data_array (DataArray) – Data array to get q-bins/values from.

  • m_value (Optional[Variable], default: None) – m-value for the supermirror. Defaults to 5.

  • critical_edge (Optional[Variable], default: None) – Supermirror critical edge. Defaults to 0.022 1/angstrom.

  • alpha (Optional[Variable], default: None) – Supermirror alpha value. Defaults to 0.25 / 0.088 angstrom.

Returns

Variable – Calibrated supermirror measurement.

Return type

scipp._scipp.core.Variable