Package org.openscience.cdk.formula
Class IsotopePatternManipulator
java.lang.Object
org.openscience.cdk.formula.IsotopePatternManipulator
Class to manipulate IsotopePattern objects.
- Author:
- Miguel Rojas Cherto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IsotopePatternnormalize(IsotopePattern isotopeP) Return the isotope pattern normalized to the highest abundance.static IsotopePatternsortAndNormalizedByIntensity(IsotopePattern isotopeP) Return the isotope pattern sorted and normalized by intensity to the highest abundance.static IsotopePatternsortByIntensity(IsotopePattern isotopeP) Return the isotope pattern sorted by intensity to the highest abundance.static IsotopePatternsortByMass(IsotopePattern isotopeP) Return the isotope pattern sorted by mass to the highest abundance.
-
Constructor Details
-
IsotopePatternManipulator
public IsotopePatternManipulator()
-
-
Method Details
-
normalize
Return the isotope pattern normalized to the highest abundance.- Parameters:
isotopeP- The IsotopePattern object to normalize- Returns:
- The IsotopePattern normalized
-
sortAndNormalizedByIntensity
Return the isotope pattern sorted and normalized by intensity to the highest abundance.- Parameters:
isotopeP- The IsotopePattern object to sort- Returns:
- The IsotopePattern sorted
-
sortByIntensity
Return the isotope pattern sorted by intensity to the highest abundance.- Parameters:
isotopeP- The IsotopePattern object to sort- Returns:
- The IsotopePattern sorted
-
sortByMass
Return the isotope pattern sorted by mass to the highest abundance.- Parameters:
isotopeP- The IsotopePattern object to sort- Returns:
- The IsotopePattern sorted
-