rotate

sisl.rotate(obj, *args, **kwargs)
sisl.rotate(geometry: Geometry, angle: float, v: str | int | sisl.typing.Coord, origin: int | sisl.typing.Coord | None = None, atoms: sisl.typing.AtomsIndex = None, rad: bool = False, what: Literal['xyz', 'abc', 'abc+xyz', 'x', 'a', Ellipsis] | None = None) Geometry
sisl.rotate(lattice: Lattice, angle: float, v: str | int | Coord, rad: bool = False, what: Literal['abc', 'a', ...] = 'abc') Lattice
sisl.rotate(state: State, phi: float = 0.0, individual: bool = False, inplace: bool = False) State | None

Dispatcher for ‘rotate’

See also

Geometry.rotate

equivalent to rotate(geometry, ...).

Lattice.rotate

equivalent to rotate(lattice, ...).

State.rotate

equivalent to rotate(state, ...).