is_cell_orthogonal

is_cell_orthogonal#

abtem.atoms.is_cell_orthogonal(cell, tol=1e-12)[source]#

Check whether atoms have an orthogonal cell.

Parameters:
  • cell (ase.Atoms) – The atoms that should be checked.

  • tol (float) – Components of the lattice vectors below this value are considered to be zero.

Returns:

orthogonal – True if cell is orthogonal.

Return type:

bool