Constructor and Description |
---|
IsotopePatternSimilarity()
Constructor for the IsotopePatternSimilarity object.
|
Modifier and Type | Method and Description |
---|---|
double |
compare(IsotopePattern isoto1,
IsotopePattern isoto2)
Compare the IMolecularFormula with a isotope
abundance pattern.
|
double |
getTolerance()
Get the tolerance of the mass accuracy.
|
void |
seTolerance(double tolerance)
Set the tolerance of the mass accuracy.
|
public IsotopePatternSimilarity()
public void seTolerance(double tolerance)
tolerance
- The tolerance valuepublic double getTolerance()
public double compare(IsotopePattern isoto1, IsotopePattern isoto2)
isoto1
- The Isotope pattern reference (predicted)isoto2
- The Isotope pattern reference (detected)Copyright © 2021. All rights reserved.