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_abundances

Get the abundances associated with the element.

get_all

Get all available element information in a formatted string.

get_atom_density

Get the atom density associated with the element.

get_atom_density_whole

Get the whole number atom density associated with the element.

get_atom_fraction

Get the atom fraction associated with the element.

get_atom_fraction_whole

Get the whole number atom fraction associated with the element.

get_atomic_mass

Get the atomic mass associated with the element.

get_atomic_mass_whole

Get the whole number atomic mass associated with the element.

get_element

Get the name of the element.

get_id

Get the identifier associated with the element.

get_isotopes

Get information about isotopes associated with the element.

get_non_isotopic

Get the non-isotopic information associated with the element.

get_weight_fraction

Get the weight fraction associated with the element.

get_weight_fraction_whole

Get the whole number weight fraction associated with the element.

get_zaid

Get the ZAID (unique identifier) associated with the element.