Trimming.MatchingPeaks#
MatchingPeaks.py
Copyright (c) 2020-2022, SAXS Team, KEK-PF
- class MatchingPeaks(cs, uv_curve_, xr_curve_, debug=False)#
Bases:
object
- debug_plot_emg_peaks(title, xr_emg_peaks, ret_xr_peaks, uv_emg_peaks, ret_uv_peaks)#
- get_matching_peak_lists()#
- compute_matching_indeces(size, uv_top_x, xr_top_x, logger=None)#
- e.g.,
input output (return)
uv_top_x = [189, 625] => [ 0, 1, None] xr_top_x = [624, 800] => [None, 0, 1]