ElementInfo¶
- class materials_compendium.utils.ElementInfo(element_data)[source]¶
Initialize an ElementInfo object with element data.
- Parameters:
element_data (Element) – An instance of the Element class containing various element information.
Example
- element_data = Element(
WeightFraction_whole=12.0, NonIsotopic=False, Element=”C”, WeightFraction=0.012, AtomicMass=12.01, ZAID=”12000”, AtomFraction=0.014, AtomDensity_whole=1.0, AtomFraction_whole=14.0, id=”42”, Isotopes=[
Isotope(
WeightPercent=0.011, Isotope=”C-12”, WeightFraction_whole=12.0, IsotopicWeightFraction_whole=13.0, WeightFraction=0.012, Abundance=98.9, IsotopicAtomDensity=0.013, AtomicNumber_whole=6, ZAID=”12000”, AtomFraction=0.014, AtomicNumber=6, IsotopicWeightFraction=0.015, RelativeAtomicMass=12.01, RelativeAtomicMass_whole=12.0, IsotopicAtomFraction=0.016, Abundance_whole=99.0, IsotopicAtomFraction_whole=16.0, AtomFraction_whole=14.0, IsotopicAtomDensity_whole=13.0 ),], AtomDensity=1.5, AtomicMass_whole=12, Abundances=”98.9”
) element_info = ElementInfo(element_data)
Methods
Get the abundances associated with the element.
Get all available element information in a formatted string.
Get the atom density associated with the element.
Get the whole number atom density associated with the element.
Get the atom fraction associated with the element.
Get the whole number atom fraction associated with the element.
Get the atomic mass associated with the element.
Get the whole number atomic mass associated with the element.
Get the name of the element.
Get the identifier associated with the element.
Get information about isotopes associated with the element.
Get the non-isotopic information associated with the element.
Get the weight fraction associated with the element.
Get the whole number weight fraction associated with the element.
Get the ZAID (unique identifier) associated with the element.