Mapping.PeakMatcher#

Mapping.PeakMatcher.py

combination_pairs(m, n)#
evaluate_matching(xr_x, uv_x, xr_peaks, uv_peaks)#
select_matching_peaks(xr_curve, xr_peaks, uv_curve, uv_peaks, debug=False)#

Select matching peaks between XR and UV curves.

For the evaluation using the weights, see the debugging info by using BSA_DATA.

Parameters:
  • xr_curve (Curve) – The XR curve object.

  • xr_peaks (array-like) – The indices of the peaks in the XR curve.

  • uv_curve (Curve) – The UV curve object.

  • uv_peaks (array-like) – The indices of the peaks in the UV curve.

  • debug (bool, optional) – If True, print debug information.

Returns:

A tuple containing the selected matching peaks for XR and UV curves.

Return type:

tuple