swapaxes

sisl.swapaxes(obj, *args, **kwargs)
sisl.swapaxes(geometry: Geometry, axes1: sisl.typing.AnyAxes, axes2: sisl.typing.AnyAxes, what: Literal['abc', 'xyz', 'abc+xyz'] = 'abc') Geometry
sisl.swapaxes(grid: Grid, axis1: sisl.typing.CellAxis, axis2: sisl.typing.CellAxis) Grid
sisl.swapaxes(lattice: Lattice, axes1: AnyAxes, axes2: AnyAxes, what: Literal['abc', 'xyz', 'abc+xyz'] = 'abc') Lattice

Dispatcher for ‘swapaxes’

See also

Geometry.swapaxes

equivalent to swapaxes(geometry, ...).

Grid.swapaxes

equivalent to swapaxes(grid, ...).

Lattice.swapaxes

equivalent to swapaxes(lattice, ...).