periodic_table_period

plasmapy.particles.atomic.periodic_table_period(argument: Union[str, numbers.Integral])numbers.Integral

Return the periodic table period.

Parameters

argument (str or int) – Atomic number (either integer or string), atomic symbol (e.g., "H", string), or element name (e.g. "Francium", string).

Returns

period – The periodic table period of the element.

Return type

int

Raises

TypeError – If the argument is not a str or int.

See also

periodic_table_group

returns periodic table group of element.

periodic_table_block

returns periodic table block of element.

Examples

>>> periodic_table_period(5)
2
>>> periodic_table_period("5")
2
>>> periodic_table_period("Au")
6
>>> periodic_table_period("nitrogen")
2