![]() |
Chemical Data Processing Library Python API - Version 1.4.0
|
A single dictionary entry describing the properties of an (atom type, isotope) pair. More...
Inheritance diagram for CDPL.Chem.AtomDictionary.Entry:Public Member Functions | |
| None | __init__ () |
| Constructs an empty entry. | |
| None | __init__ (Entry entry) |
Initializes a copy of the Entry instance entry. More... | |
| None | __init__ (int atom_type, int iso, str sym, str name, int most_abdt_iso, float avg_weight, int iupac_grp, int period, bool metal, bool non_metal, object val_states, float vdw_rad, object cov_radii, float ar_eneg, object iso_masses) |
Initializes the Entry instance. More... | |
| int | getObjectID () |
| Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
| Entry | assign (Entry entry) |
Replaces the current state of self with a copy of the state of the Entry instance entry. More... | |
| int | getType () |
| Returns the atom type of the entry. More... | |
| int | getIsotope () |
| Returns the mass number of the isotope of the entry. More... | |
| str | getName () |
| Returns the element name of the entry. More... | |
| str | getSymbol () |
| Returns the element symbol of the entry. More... | |
| int | getMostAbundantIsotope () |
| Returns the mass number of the most abundant isotope of the element. More... | |
| float | getAverageWeight () |
| Returns the standard (average) atomic weight of the element. More... | |
| int | getIUPACGroup () |
| Returns the IUPAC group number of the element. More... | |
| int | getPeriod () |
| Returns the period of the element. More... | |
| bool | isMetal () |
| Tells whether the element is a metal. More... | |
| bool | isNonMetal () |
| Tells whether the element is a non-metal. More... | |
| Util.STArray | getValenceStates () |
| Returns the valence states of the element. More... | |
| float | getVdWRadius () |
| Returns the van der Waals radius of the element. More... | |
| float | getCovalentRadius (int order) |
| Returns the covalent radius of the element for the given bond order. More... | |
| float | getAllredRochowElectronegativity () |
| Returns the Allred-Rochow electronegativity of the element. More... | |
| dict | getIsotopeMasses () |
| Returns the map from isotope mass number to its relative isotopic mass for the element. More... | |
Properties | |
| objectID = property(getObjectID) | |
| type = property(getType) | |
| isotope = property(getIsotope) | |
| name = property(getName) | |
| symbol = property(getSymbol) | |
| mostAbundantIsotope = property(getMostAbundantIsotope) | |
| averageWeight = property(getAverageWeight) | |
| IUPACGroup = property(getIUPACGroup) | |
| period = property(getPeriod) | |
| metal = property(isMetal) | |
| nonMetal = property(isNonMetal) | |
| valenceStates = property(getValenceStates) | |
| VdWRadius = property(getVdWRadius) | |
| AllredRochowElectronegativity = property(getAllredRochowElectronegativity) | |
| isotopeMasses = property(getIsotopeMasses) | |
A single dictionary entry describing the properties of an (atom type, isotope) pair.
| None CDPL.Chem.AtomDictionary.Entry.__init__ | ( | Entry | entry | ) |
Initializes a copy of the Entry instance entry.
| entry | The Entry instance to copy. |
| None CDPL.Chem.AtomDictionary.Entry.__init__ | ( | int | atom_type, |
| int | iso, | ||
| str | sym, | ||
| str | name, | ||
| int | most_abdt_iso, | ||
| float | avg_weight, | ||
| int | iupac_grp, | ||
| int | period, | ||
| bool | metal, | ||
| bool | non_metal, | ||
| object | val_states, | ||
| float | vdw_rad, | ||
| object | cov_radii, | ||
| float | ar_eneg, | ||
| object | iso_masses | ||
| ) |
Initializes the Entry instance.
| atom_type | |
| iso | |
| sym | |
| name | |
| most_abdt_iso | |
| avg_weight | |
| iupac_grp | |
| period | |
| metal | |
| non_metal | |
| val_states | |
| vdw_rad | |
| cov_radii | |
| ar_eneg | |
| iso_masses |
| int CDPL.Chem.AtomDictionary.Entry.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python Entry instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b thus cannot tell reliably whether the two Entry instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID().
Replaces the current state of self with a copy of the state of the Entry instance entry.
| entry | The Entry instance to copy. |
| int CDPL.Chem.AtomDictionary.Entry.getType | ( | ) |
Returns the atom type of the entry.
| int CDPL.Chem.AtomDictionary.Entry.getIsotope | ( | ) |
Returns the mass number of the isotope of the entry.
| str CDPL.Chem.AtomDictionary.Entry.getName | ( | ) |
Returns the element name of the entry.
| str CDPL.Chem.AtomDictionary.Entry.getSymbol | ( | ) |
Returns the element symbol of the entry.
| int CDPL.Chem.AtomDictionary.Entry.getMostAbundantIsotope | ( | ) |
Returns the mass number of the most abundant isotope of the element.
| float CDPL.Chem.AtomDictionary.Entry.getAverageWeight | ( | ) |
Returns the standard (average) atomic weight of the element.
| int CDPL.Chem.AtomDictionary.Entry.getIUPACGroup | ( | ) |
Returns the IUPAC group number of the element.
| int CDPL.Chem.AtomDictionary.Entry.getPeriod | ( | ) |
Returns the period of the element.
| bool CDPL.Chem.AtomDictionary.Entry.isMetal | ( | ) |
Tells whether the element is a metal.
True if the element is a metal, and False otherwise. | bool CDPL.Chem.AtomDictionary.Entry.isNonMetal | ( | ) |
Tells whether the element is a non-metal.
True if the element is a non-metal, and False otherwise. | Util.STArray CDPL.Chem.AtomDictionary.Entry.getValenceStates | ( | ) |
Returns the valence states of the element.
| float CDPL.Chem.AtomDictionary.Entry.getVdWRadius | ( | ) |
Returns the van der Waals radius of the element.
| float CDPL.Chem.AtomDictionary.Entry.getCovalentRadius | ( | int | order | ) |
Returns the covalent radius of the element for the given bond order.
| order | The bond order (1, 2 or 3). |
| float CDPL.Chem.AtomDictionary.Entry.getAllredRochowElectronegativity | ( | ) |
Returns the Allred-Rochow electronegativity of the element.
| dict CDPL.Chem.AtomDictionary.Entry.getIsotopeMasses | ( | ) |
Returns the map from isotope mass number to its relative isotopic mass for the element.