real_space_grid
- hubbard.real_space_grid(geometry, sc, vector, shape, mode='wavefunction', **kwargs)[source]
Create real space
sisl.Grid
object for asisl.Geometry
and a sisl.Supercell- Parameters
g (sisl.Geometry) – geometry
vector (numpy.array) – vector to expand in the real space grid
shape (float or (3,) of int) – the shape of the grid. A float specifies the grid spacing in Angstrom, while a list of integers specifies the exact grid size (see
sisl.Grid
)sc (sisl.SuperCell) – supercell object of the grid
mode (str, optional) – to build the grid from sisl.electron.wavefunction object (
mode='wavefunction'
) or from the sisl.physics.DensityMatrix (mode='charge'
), e.g. for charge-related plots
See also