93 double operator()(
const PeakSpectrum & spec)
const override;
103 bool preprocess(
PeakSpectrum & spec,
float remove_peak_intensity_threshold = 2.01,
UInt cut_peaks_below = 1000,
Size min_peak_number = 5,
Size max_peak_number = 150);
128 double delta_D(
double top_hit,
double runner_up);
138 double compute_F(
double dot_product,
double delta_D,
double dot_bias);
148 return "SpectraSTSimilarityScore";
A more convenient string class.
Definition: String.h:57
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
static PeakSpectrumCompareFunctor * create()
Definition: SpectraSTSimilarityScore.h:143
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
Similarity score of SpectraST.
Definition: SpectraSTSimilarityScore.h:62
This is a binned representation of a PeakSpectrum.
Definition: BinnedSpectrum.h:75
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Base class for compare functors of spectra, that return a similarity value for two spectra...
Definition: PeakSpectrumCompareFunctor.h:52
static const String getProductName()
Reimplemented from PeakSpectrumCompareFunctor.
Definition: SpectraSTSimilarityScore.h:146