SpectrumAlignmentScore
- class pyopenms.SpectrumAlignmentScore
Bases:
objectCython implementation of _SpectrumAlignmentScore
- Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1SpectrumAlignmentScore.html
– Inherits from [‘DefaultParamHandler’]
This class implements a simple scoring based on the alignment of spectra. This alignment is implemented in the SpectrumAlignment class and performs a dynamic programming alignment of the peaks, minimizing the distances between the aligned peaks and maximizing the number of peak pairs —– The scoring is done via the simple formula score = sum / (sqrt(sum1 * sum2)). sum is the product of the intensities of the aligned peaks, with the given exponent (default is 2) sum1 and sum2 are the sum of the intensities squared for each peak of both spectra respectively
- __init__()
Cython signature: void SpectrumAlignmentScore()
This class implements a simple scoring based on the alignment of spectra. This alignment is implemented in the SpectrumAlignment class and performs a dynamic programming alignment of the peaks, minimizing the distances between the aligned peaks and maximizing the number of peak pairs —– The scoring is done via the simple formula score = sum / (sqrt(sum1 * sum2)). sum is the product of the intensities of the aligned peaks, with the given exponent (default is 2) sum1 and sum2 are the sum of the intensities squared for each peak of both spectra respectively
Cython signature: void SpectrumAlignmentScore(SpectrumAlignmentScore &)
Methods
Cython signature: void SpectrumAlignmentScore()
Cython signature: Param getDefaults() Returns the default parameters
Cython signature: String getName() Returns the name
Cython signature: Param getParameters() Returns the parameters
Cython signature: libcpp_vector[String] getSubsections()
Cython signature: void setName(const String &) Sets the name
Cython signature: void setParameters(Param & param) Sets the parameters
- getDefaults()
Cython signature: Param getDefaults() Returns the default parameters
- getName()
Cython signature: String getName() Returns the name
- getParameters()
Cython signature: Param getParameters() Returns the parameters
- getSubsections()
Cython signature: libcpp_vector[String] getSubsections()
- setName()
Cython signature: void setName(const String &) Sets the name
- setParameters()
Cython signature: void setParameters(Param & param) Sets the parameters