Dear Rafael González,

When an integer is passed to the "bands" flag, it is interpreted as the number of bands to take into account. In your example

I hope this helps - let me know if things are still unclear.

Best regards,

Dominik

On 03.08.20 20:59, Rafael Gonzalez Hernandez wrote:
Dear z2pack, 
I used the code to understand the example of Haldane model.
However, I changed the bands flag to test it and I found the Chern number for different values of:

band=0 chern= doesn't work
band=1 chern=-1
band=[0] chern=-1
band=[1] chern=1
band=[0,1] chern=0

Why It is finding found a different between 1(both bands according to manual) and [0,1] bands?
Thank you in advance for your help

Best regards,
--
Resultado de
                                                  imagen para uninorte
                                                  logo

Rafael J. González Hernández 

Profesor Asociado 
Departamento de Física. 
Of. 2-45. Bloque L-6.
Tel. +57 5 3509509  Ext. 3425 
Email: rhernandezj@uninorte.edu.co


Este correo no representa opinión o consentimiento oficial de la Universidad del Norte, por lo que esta no adquiere ninguna responsabilidad por su contenido, salvo en el caso de funcionarios en ejercicio de atribuciones reglamentarias. Puede provenir de una cuenta ofrecida a funcionarios o estudiantes, como parte del ejercicio educativo, evento en el cual tanto el mensaje como sus anexos son estrictamente confidenciales. Ha sido analizado con software antivirus; no obstante, no se garantiza que sea seguro o no contenga errores o virus, por lo que la Universidad del Norte no se hace responsable de su transmisión.