This function calculates entropy similarity between two spectra
Arguments
- index
Index of the first spectrum
- target
Index of the second spectrum
- frags
List of fragments
- ms2_tolerance
MS2 tolerance
- ppm_tolerance
ppm tolerance
- threshold
Threshold value for the score