86 return "PeakAlignment";
95 double peakPairScore_(
double & pos1,
double & intens1,
double & pos2,
double & intens2,
const double & sigma)
const;
The representation of a 1D spectrum.
Definition: MSSpectrum.h:70
make a PeakAlignment of two PeakSpectra
Definition: PeakAlignment.h:55
double peakPairScore_(double &pos1, double &intens1, double &pos2, double &intens2, const double &sigma) const
calculates the score for aligning two peaks
PeakAlignment(const PeakAlignment &source)
copy constructor
double operator()(const PeakSpectrum &spec1, const PeakSpectrum &spec2) const override
double operator()(const PeakSpectrum &spec) const override
function call operator, calculates self similarity
std::vector< std::pair< Size, Size > > getAlignmentTraceback(const PeakSpectrum &spec1, const PeakSpectrum &spec2) const
make alignment and get the traceback
PeakAlignment()
default constructor
~PeakAlignment() override
destructor
static PeakSpectrumCompareFunctor * create()
Definition: PeakAlignment.h:81
PeakAlignment & operator=(const PeakAlignment &source)
assignment operator
static const String getProductName()
get the identifier for this DefaultParamHandler
Definition: PeakAlignment.h:84
Base class for compare functors of spectra, that return a similarity value for two spectra.
Definition: PeakSpectrumCompareFunctor.h:54
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48