metallurgy.valence.s_valence(alloy: Alloy | str | dict) → Number | None | list[Number | None][source] Returns the proportion of the valence electrons which are in the s orbital. Parameters:¶ alloy : mg.Alloy, str, dict¶The alloy for which to calculate the s-valence proportion. Last update: Jun 08, 2023