public class Isotopes extends IsotopeFactory
The isotopes.dat
file that is used by this class is a binary class
of this data, improving loading times over the BODR XML representation. It is created
from the original BODR files using tools from the cdk-build-util
repository.
EMPTY_ISOTOPE_ARRAY
Modifier and Type | Method and Description |
---|---|
static void |
clearMajorIsotopes(IAtomContainer mol)
Clear the isotope information from atoms that are major isotopes (e.g.
|
static void |
clearMajorIsotopes(IMolecularFormula formula)
Clear the isotope information from istopes that are major (e.g.
|
static Isotopes |
getInstance()
Returns a singleton instance of this class.
|
add, configure, configure, configureAtoms, getElement, getElement, getElementSymbol, getExactMass, getIsotope, getIsotope, getIsotopes, getIsotopes, getIsotopes, getIsotopes, getMajorIsotope, getMajorIsotope, getMajorIsotopeMass, getNaturalMass, getNaturalMass, getSize, isElement
public static Isotopes getInstance() throws IOException
IOException
- when reading of the data file did not workpublic static void clearMajorIsotopes(IAtomContainer mol)
mol
- the moleculepublic static void clearMajorIsotopes(IMolecularFormula formula)
formula
- the formulaCopyright © 2021. All rights reserved.