kwant.lattice.general(prim_vecs, basis=None, name='')¶Create a Bravais lattice of any dimensionality, with any number of sites.
| Parameters: | prim_vecs : 2d array-like of floats
basis : 2d array-like of floats
name : string or sequence of strings
|
|---|---|
| Returns: | lattice : either
|
Notes
This function is largely an alias to the constructors of corresponding lattices.