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