35 #ifndef OPENMS_COMPARISON_SPECTRA_SPECTRASTSIMILARITYSCORE_H 36 #define OPENMS_COMPARISON_SPECTRA_SPECTRASTSIMILARITYSCORE_H 104 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);
129 double delta_D(
double top_hit,
double runner_up);
139 double compute_F(
double dot_product,
double delta_D,
double dot_bias);
149 return "SpectraSTSimilarityScore";
158 #endif //OPENMS_COMPARISON_SPECTRA_SPECTRASTSIMILARTIYSCORE_H A more convenient string class.
Definition: String.h:57
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
static PeakSpectrumCompareFunctor * create()
Definition: SpectraSTSimilarityScore.h:144
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
Similarity score of SpectraST.
Definition: SpectraSTSimilarityScore.h:63
This is a binned representation of a PeakSpectrum.
Definition: BinnedSpectrum.h:65
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:128
Base class for compare functors of spectra, that return a similarity value for two spectra...
Definition: PeakSpectrumCompareFunctor.h:53
static const String getProductName()
Reimplemented from PeakSpectrumCompareFunctor.
Definition: SpectraSTSimilarityScore.h:147