triqs.lattice.super_lattice.TBSuperLattice.change_coordinates_L_to_SL

TBSuperLattice.change_coordinates_L_to_SL(x)[source]

Map a base-lattice point x (in lattice coordinates) to its superlattice coordinates (R, alpha).

Parameters:
xarray-like of int

Position on the base lattice in lattice coordinates.

Returns:
Rtuple of int

Superlattice displacement.

alphaint

Index of the site within the cluster.