hyperfine.musr.raw_asymmetry

hyperfine.musr.raw_asymmetry(L: float, R: float, l: float = 0.0, r: float = 0.0) float[source]

Raw asymmetry between two detectors.

For a pair of detectors (L)eft and (R)ight, calculate their asymmetry:

\[A_{\mathrm{raw}} = \frac{(L - l) - (R - r)}{(L - l) + (R - r)}\]

where \(A_{\mathrm{raw}}\) is the raw asymmetry, \(L\) is the left detector’s total counts, \(l\) is the left detector’s background counts, \(R\) is the right detector’s total counts, and \(r\) is the right detector’s background counts.

Parameters:
  • L – Left detector total counts.

  • R – Right detector total counts.

  • l – Left detector background counts.

  • r – Right detector background counts.

Returns:

The raw asymmetry.