59 double getFactor_(
double mz_tolerance,
double mz_difference,
bool is_gaussian =
false)
const;
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Base class for compare functors of spectra, that return a similarity value for two spectra.
Definition: PeakSpectrumCompareFunctor.h:28
Similarity score of Zhang.
Definition: ZhangSimilarityScore.h:30
double getFactor_(double mz_tolerance, double mz_difference, bool is_gaussian=false) const
returns the factor associated with the m/z tolerance and m/z difference of the peaks
~ZhangSimilarityScore() override
destructor
ZhangSimilarityScore()
default constructor
double operator()(const PeakSpectrum &spec1, const PeakSpectrum &spec2) const override
function call operator, calculates the similarity
double operator()(const PeakSpectrum &spec) const override
calculates self similarity
ZhangSimilarityScore(const ZhangSimilarityScore &source)
copy constructor
ZhangSimilarityScore & operator=(const ZhangSimilarityScore &source)
assignment operator
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19