atoms_by_number#

mbgdml.utils.atoms_by_number(atom_list)[source]#

Converts a list of atoms identified by their elemental symbol to their atomic number.

Parameters:

atom_list (list [str]) – Element symbols of atoms within a structure.

Returns:

Atomic numbers of atoms within a structure.

Return type:

list [int]