kwant.lattice.general(prim_vecs, basis=None, name='', norbs=None)[source]¶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
norbs : int or sequence of ints, optional
|
|---|---|
| Returns: | lattice : either
|
Notes
This function is largely an alias to the constructors of corresponding lattices.