norm_exp_convolution

pylluminator.stats.norm_exp_convolution(mu: float, sigma: float, alpha: float, signal_values: array, offset: int | float) array

Perform normalization and background correction on signal values using a normal-exponential convolution model.

Parameters:
  • mu (float) – The mean (mu) of the background signal.

  • sigma (float) – The standard deviation (sigma) of the background signal.

  • alpha (float) – The correction factor, representing the shift in signal.

  • signal_values (numpy.ndarray) – Array of observed signal values to be corrected.

  • offset (int | float) – A constant value to add to the corrected signal for padding.

Returns:

The background-corrected and normalized signal values.

Return type:

numpy.ndarray