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