Mass Spectrometry, Tutorial, Python, Data Analysis, Research.
the scores for the top-10 candidates (Cosine score + number of matching peaks): Out[]: [(1., 30), (0.99711049, 2), (0.99534901, 2), (0.99214557, 2), (0.98748381, 2), (0.98461111, 3), (0.98401833, 2), (0.97598497, 2), (0.9757458, 2), (0.97547771, 2)] The first, highest ranked results is the spectrum