User Guide:
Code Reference:
parse_input_arguments()
U()
berry_curv()
geom_tensor()
wilson_loop()
chern()
BasicHoneycombHamiltonian()
BasicKagomeHamiltonian()
BasicSquareHamiltonian()
BasicTriangularHamiltonian()
Hamiltonian()
diag_func()
nearest_neighbor_finder()
nearest_neighbor_sorter()
peierls_factor()
reciprocal_vectors()
band_structure()
butterfly()
create_filename()
load_data()
read_t_from_file()
save_data()
Logger
Hofstadter
Finds the relevant nearest neighbors for a given lattice.
avec (ndarray) – The lattice vectors.
abasisvec (ndarray) – The basis vectors.
t_list (list) – The list of hopping amplitudes in order of ascending NN.
x_init (float) – The initial x-coordinate.
y_init (float) – The initial y-coordinate.
basis_init (int) – The initial sublattice index.
data (ndarray) – The array of relevant nearest neighbors.
bases (list) – The list of unique sublattice indices.