Mass Spectrometry, Tutorial, Python, Data Analysis, Research.
except the first entry which is the similarity of the spectrum with itself and hence obviously = 1): Out[]: [(1., 30), (0.44857215, 6), (0.39605775, 5), (0.33880658, 5), (0.03942863, 6), (0.03429136, 5), (0.03028157, 5), (0.02845932, 5), (0.01924283, 7), (0.01890612, 5)] 4. Compute spectra