Hi. Azmat.
Great work till now!
Taking the negative switches the two eigenvalues(and eigenvectors), lower band becomes upper band and vice-versa! Why don't you work it out analytically completely? One of the eigen-vectors will give a chern number of -1, and the other +1.
I remember an issue of clock-wise vs counter-clockwise traversing while writing topology.py. See page 29 of the attached thesis. ("Disregarding a minus sign, the result is in agreement with the values known from the literature [14]") I had a plan of revisiting that convention at some point. You just prompted the process. Thanks.
We need to double check it against a few examples (a CDW one), a Haldene model example. Let's compare what the code gives and what the analytical answer is.
The second point is the gauge independent-ness of the Berry curvature. The eigenvectors can be given an arbitrary phase (i.e. if u is an eigenvector, then so is e^{i\phi}u ); however the berry curvature plot will not change in any way. It's gauge independent.
I negated the Hamiltonian to switch the two bands.
Please work out the problem beginning to end analytically, the wiki-page gave the eigenvectors too. Please share with me. I am very curious too.
You can study the analytical chern number calculation in the thesis I just sent as well. (pages Around page 29).
Saumya