hyperfine.musr.raw_asymmetry_error

hyperfine.musr.raw_asymmetry_error(L: float, L_error: float, R: float, R_error: float, l: float = 0.0, l_error: float = 0.0, r: float = 0.0, r_error: float = 0.0) float[source]

Uncertainty in the raw asymmetry between two detectors.

Calculate the uncertainty in the raw asymmetry using standard error propagation.

Note: the calculation assumes all uncertainties are uncorrelated.

Parameters:
  • L – Left detector total counts.

  • L_error – Left detector uncertainty.

  • R – Right detector total counts.

  • R_error – Right detector uncertainty.

  • l – Left detector background counts.

  • l_error – Left detector background uncertainty.

  • r – Right detector background counts.

  • r_error – Right detector background uncertainty.

Returns:

The uncertainty of the raw asymmetry.