cheminfo / mass-tools

Various projects dealing with molecular formula
https://cheminfo.github.io/mass-tools/
MIT License
7 stars 0 forks source link

Create a method to give a similarity for 2 spectra #84

Closed lpatiny closed 1 year ago

lpatiny commented 2 years ago

Get inspired by https://github.com/cheminfo/chromatography/blob/d29b7cd2ce5a6f3764fac1fd57cc9c6241fd97a4/src/spectraComparison.js#L38-L41

Should be in spectrum package

Probably will replace the existing code in chromatography.

lpatiny commented 1 year ago

Implemented in https://github.com/cheminfo/mass-tools/blob/main/packages/ms-spectrum/src/MSComparator.js