apply

sisl.apply(obj, *args, **kwargs)
sisl.apply(geometry: Geometry, data, func, mapper, axis: int = 0, segments: Literal['atoms', 'orbitals', 'all'] | Iterator[int] = 'atoms') ndarray
sisl.apply(grid: Grid, function_, *args, **kwargs)

Dispatcher for ‘apply’

See also

Geometry.apply

equivalent to apply(geometry, ...).

Grid.apply

equivalent to apply(grid, ...).