metallurgy.valence.valence_number(alloy: Alloy | str | dict, orbital: str) Number | None | list[Number | None][source]

Returns the number of the valence electrons which are in a particular orbital.

Parameters:
alloy : mg.Alloy, str, dict

The alloy for which to calculate the valence proportion.

orbital : str

The orbital to calculate the proportion of.


Last update: Jun 08, 2023