materials_compendium.utils.Material.get_elements

Material.get_elements()[source]

Get information about elements associated with the material.

Returns:

str: A formatted string containing information about elements.

Example:

print(material.get_elements()) # Output: “Index: 0

Element: Carbon, ZAID: 12000, …”