center_threshold#

IntegrationWeight.center_threshold(trace1: ndarray, trace2: ndarray) None[source]#

Center the threshold value between trace1 and trace2.

This function computes the weighted integration results using trace1 and trace2 as input and then computes the arithmetic mean of the two results.

Parameters:
  • trace1 (ndarray) – The first trace.

  • trace2 (ndarray) – The second trace.

Returns:

The arithmetic mean of the weighted integration results between trace1 and trace2.

Return type:

None