materials_compendium.utils.ElementInfo.get_atom_fraction_whole

ElementInfo.get_atom_fraction_whole()[source]

Get the whole number atom fraction associated with the element.

Returns:

The whole number atom fraction.

Return type:

float

Example

print(element_info.get_atom_fraction_whole()) # Output: 14