kwant.builder.
SimpleSiteFamily
(name=None, norbs=None)[source]¶A site family used as an example and for testing.
A family of sites tagged by any python objects where object satisfied
condition object == eval(repr(object))
.
It exists to provide a basic site family that can be used for testing the builder module without other dependencies. It can be also used to tag sites with non-numeric objects like strings should this every be useful.
Due to its low storage efficiency for numbers it is not recommended to use
SimpleSiteFamily
when kwant.lattice.Monatomic
would also work.
Methods