rotate_atoms_to_plane#
- abtem.atoms.rotate_atoms_to_plane(atoms, plane='xy')[source]#
Rotate atoms so that their xy plane is rotated into a given plane.
- Parameters:
atoms (ASE Atoms objet) – Atoms to be rotated.
plane (str or tuple of tuple) – Plane to be rotated into given as either a string or two tuples.
- Returns:
rotated – Rotated atoms.
- Return type:
ase.Atoms