libgunshotmatch.search

Library search functions.

Functions:

identify_peaks(engine, peaks_to_identify, …)

Identify the peaks in peak_list where their retention times are in peaks_to_identify.

identify_peaks(engine, peaks_to_identify, peak_list, n_hits=10, verbose=False)[source]

Identify the peaks in peak_list where their retention times are in peaks_to_identify.

Parameters
  • engine (Engine)

  • peaks_to_identify (Iterable[float]) – List of retention times of peaks to identify.

  • peak_list (List[Peak])

  • n_hits (int) – The number of hits to return for each peak. Default 10.

  • verbose (bool) – Enable debug logging. Default False.

Return type

List[QualifiedPeak]