materials_compendium.utils.ElementInfo.get_atom_fraction

ElementInfo.get_atom_fraction()[source]

Get the atom fraction associated with the element.

Returns:

The atom fraction.

Return type:

float

Example

print(element_info.get_atom_fraction()) # Output: 0.014