periodic_table_block

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

Return the periodic table block.

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:block – The periodic table block of the element.
Return type:str
Raises:TypeError – If the argument is not a str or int.

See also

~plasmapy.particles.periodic_table_period : returns periodic table
period of element.
~plasmapy.particles.periodic_table_group : returns periodic table
group of element.
~plasmapy.particles.periodic_table_category : returns periodic table
category of element.

Examples

>>> periodic_table_block(66)
'f'
>>> periodic_table_block(72)
'd'
>>> periodic_table_block("Tl")
'p'
>>> periodic_table_block("thallium")
'p'
>>> periodic_table_block("francium")
's'