center

sisl.center(obj, *args, **kwargs)
sisl.center(geometry: Geometry, atoms: sisl.typing.AtomsIndex = None, what: Literal['COP|xyz|position', 'mm:xyz', 'mm:lattice|mm:cell', 'COM|mass', 'COMM:pbc|mass:pbc', 'COU|lattice|cell'] = 'xyz') ndarray
sisl.center(lattice: Lattice, axes: sisl.typing.CellAxes = (0, 1, 2)) ndarray

Dispatcher for ‘center’

See also

Geometry.center

equivalent to center(geometry, ...).

Lattice.center

equivalent to center(lattice, ...).