public class PeriodicSystem extends ChemConst
Information on the elements are stored at element.zip. By default this file is located at the chemaxon directory but it can be overwritten by a file having the same name at user_home/chemaxon directory.
Information on the elements are stored at isotopes.data. By default this file is located at the chemaxon directory but it can be overwritten by a file having the same name at user_home/chemaxon directory.
API usage example:
int elementCount = PeriodicSystem.getElementCount(); // number of elements in the periodic system int isotopeCount = PeriodicSystem.getIsotopeCount(); // number of isotopes in the periodic system String symbol = PeriodicSystem.getSymbol(6); // element symbol of the 6th element String name = PeriodicSystem.getName(6); // element name of the 6th element int atomicNumber = PeriodicSystem.getAtomicNumber("C"); // atomic number of carbon double mass = PeriodicSystem.getMass(6); // elemental mass (weight) of an element int precision = PeriodicSystem.getMassPrecision(6); // precision of a certain the elemental mass (weight) int isotopes = PeriodicSystem.getIsotopeCount(6); // number of isotopes of carbon int mainIsotope = PeriodicSystem.getMostFrequentNaturalIsotope(6); // the most frequent natural isotope of carbon double isotopeMass = PeriodicSystem.getMass(6, 14); // isotopic mass (weight) of carbon 14 int isotopePrecision = PeriodicSystem.getMassPrecision(6, 14); // precision of a certain isotopic mass (weight) int deuterium = PeriodicSystem.getAtomicNumber("D"); // atomic number of Deuterium
Ac, Ag, Al, Am, Ar, As, At, Au, B, Ba, Be, Bh, Bi, Bk, Br, C, Ca, Cd, Ce, Cf, Cl, Cm, Co, Cr, Cs, Cu, Db, Ds, Dy, ELEMENT_COUNT, Er, Es, Eu, F, Fe, Fm, Fr, Ga, Gd, Ge, H, He, Hf, Hg, Ho, Hs, I, In, Ir, K, Kr, La, Li, Lr, Lu, Md, Mg, Mn, Mo, Mt, N, Na, Nb, Nd, Ne, Ni, No, Np, O, Os, P, Pa, Pb, Pd, Pm, Po, Pr, Pt, Pu, Ra, Rb, Re, Rf, Rg, Rh, Rn, Ru, S, Sb, Sc, Se, Sg, Si, Sm, Sn, Sr, Ta, Tb, Tc, Te, Th, Ti, Tl, Tm, U, V, W, Xe, Y, Yb, Zn, Zr
Constructor and Description |
---|
PeriodicSystem() |
Modifier and Type | Method and Description |
---|---|
static int |
findAtomicNumber(String symbol)
Returns the atomic number of the element in the periodic system
specified by its symbol.
|
static double |
getAbundance(int z,
int m)
Natural abundance of the isotope
|
static int |
getAtomicNumber(String symbol)
Deprecated.
As of Marvin 5.9, replaced by a similar method which
throws IllegalArgumentException in case of failure
findAtomicNumber(String) . |
static double |
getAtomicRadius(int z)
Atomic radius of the element Angstroms.
|
static double |
getCovalentRadius(int z)
Covalent radius of the element in Angstroms.
|
static double |
getCovalentRadius(int z,
int t)
Covalent radius of the element in specific bond type in Angstroms.
|
static int |
getElementCount()
Number of elements in the periodic system
|
static int |
getIsotope(int z,
int i)
Retrieves an isotope of the element
|
static int |
getIsotopeCount()
Number of isotopes in the periodic system
|
static int |
getIsotopeCount(int z)
Number of isotopes of the element
|
static double |
getMass(int z)
Atomic weight of the element based on the natural abundance of its
isotopes
|
static double |
getMass(int z,
int m)
Atomic weight of an isotope
|
static int |
getMassPrecision(int z)
The precision of an elemental mass is the number of measured digits after
the decimal separator.
|
static int |
getMassPrecision(int z,
int m)
The precision of an isotopic mass is the number of measured digits after
the decimal separator.
|
static int |
getMostFrequentNaturalIsotope(int z)
Returns the mass number of the most frequent natural isotope of the
element
|
static String |
getName(int z)
Name of the element
|
static int |
getRow(int z)
The row or or period of an element in the periodic system.
|
static String |
getSymbol(int z)
Symbol of the element
|
static double |
getVanDerWaalsRadius(int z)
Van der Waals radius of the element in Angstroms.
|
static boolean |
isActinideMetal(int z)
Checks if the given atom is an actinide metal
Actinium is included.
|
static boolean |
isAlkaliMetal(int z)
Checks if the given atom is an alkali (group I.) metal.
|
static boolean |
isAlkalineEarthMetal(int z)
Checks if the given atom is an alkaline earth (group II.) metal.
|
static boolean |
isAtomicSymbol(String symbol)
Returns whether the given string corresponds to an atomic number of
an element in the periodic system specified by its symbol.
|
static boolean |
isHalogen(int z)
Checks if the given atom is a halogen.
|
static boolean |
isLanthanideMetal(int z)
Checks if the given atom is a lanthanide metal
Lanthanum is included.
|
static boolean |
isMetal(int z)
Decides whether the element is a metal.
|
static boolean |
isMetalloid(int z)
Checks if the given atom is a metalloid.
|
static boolean |
isNobleGas(int z)
Checks if the given atom is a noble gas.
|
static boolean |
isOtherMetal(int z)
Checks if the given atom is an "other metal", group IIIa-Va metal.
|
static boolean |
isTransitionMetal(int z)
Checks if the given atom is a transition metal, IB-VIIIB.
|
public static int getElementCount()
public static int getIsotopeCount()
public static int getIsotopeCount(int z)
z
- atomic number of the element (protons)public static int getIsotope(int z, int i)
z
- atomic number of the element (protons)i
- index of the isotope (0 based)public static String getName(int z)
z
- atomic number (protons)public static String getSymbol(int z)
z
- atomic number (protons)public static double getMass(int z)
z
- atomic number (protons)public static double getMass(int z, int m)
z
- atomic number of the isotopem
- mass number of the isotope (0 for element mass)public static int getMassPrecision(int z)
z
- atomic number (protons)public static int getMassPrecision(int z, int m)
z
- atomic number (protons)m
- mass number of the isotope (0 for element mass)public static double getAbundance(int z, int m)
z
- atomic number of the isotope (protons)m
- mass number of the isotope (protons + neutrons)public static int getMostFrequentNaturalIsotope(int z)
z
- atomic number (protons)@Deprecated public static int getAtomicNumber(String symbol)
findAtomicNumber(String)
.symbol
- atom symbol e.g. "C", "Br", "BR".public static int findAtomicNumber(String symbol) throws IllegalArgumentException
symbol
- atom symbol e.g. "C", "Br", "BR".IllegalArgumentException
- if symbol
does not correspond to a chemical element in the periodic table.public static boolean isAtomicSymbol(String symbol)
symbol
- atom symbol e.g. "C", "Br", "BR".public static double getAtomicRadius(int z)
z
- atomic number (protons)public static double getCovalentRadius(int z)
z
- atomic number (protons)public static double getCovalentRadius(int z, int t)
z
- atomic number (protons)t
- bond typepublic static double getVanDerWaalsRadius(int z)
z
- atomic number (protons)public static int getRow(int z)
z
- atomic number (protons)public static boolean isMetal(int z)
z
- atomic number (protons)public static boolean isAlkaliMetal(int z)
z
- atomic number of the atom.public static boolean isAlkalineEarthMetal(int z)
z
- atomic number of the atom.public static boolean isOtherMetal(int z)
z
- atomic number of the atom.public static boolean isTransitionMetal(int z)
z
- atomic number of the atom.public static boolean isLanthanideMetal(int z)
z
- atomic number of the atom.public static boolean isActinideMetal(int z)
z
- atomic number of the atom.public static boolean isMetalloid(int z)
z
- atomic number of the atom.public static boolean isHalogen(int z)
z
- atomic number of the atom.public static boolean isNobleGas(int z)
z
- atomic number of the atom.