is_cell_hexagonal

is_cell_hexagonal#

abtem.atoms.is_cell_hexagonal(atoms)[source]#

Check whether the cell of given atoms is hexagonal.

Parameters:

atoms (ase.Atoms) – The atoms that should be checked.

Returns:

hexagonal – True if cell is hexagonal.

Return type:

bool