modifinder.classes.EdgeDetail.Match
- class modifinder.classes.EdgeDetail.Match(first_peak_index: int, second_peak_index: int, match_type: MatchType)[source]
Class for Match
- first_peak_index
Index of the peak in the first spectrum
- Type:
int
- second_peak_index
Index of the peak in the second spectrum
- Type:
int
- __init__(first_peak_index: int, second_peak_index: int, match_type: MatchType)[source]
Initialize the Match object.
- Parameters:
first_peak_index (int) – Index of the first peak
second_peak_index (int) – Index of the second peak
match_type (MatchType) – Type of the match
Notes
if you need matches with more information, create a new class and inherit from this class.
Methods
__init__
(first_peak_index, ...)Initialize the Match object.
copy
()Create a copy of the Match object