<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Rafael González,</p>
<p>When an integer is passed to the "bands" flag, it is interpreted
as the <i>number</i> of bands to take into account. In your
example</p>
<ul>
<li>bands=0: is equivalent to bands=[] - there are no bands to
compute the Chern number for, which is why it doesn't work</li>
<li>bands=1: is equivalent to bands=[0] - it computes the Chern
number for the lower-energy bands</li>
<li>bands=[1] computes the Chern number for the higher-energy band
(i.e., unoccupied) band - which has the opposite value</li>
<li>bands=[0,1] (equivalent to bands=2) - when the whole system
(all bands) are included, it can be adiabatically connected to a
trivial system</li>
</ul>
<p>I hope this helps - let me know if things are still unclear.<br>
</p>
<p>Best regards,</p>
<p>Dominik<br>
</p>
<div class="moz-cite-prefix">On 03.08.20 20:59, Rafael Gonzalez
Hernandez wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOk20xpjmF658GDMWiomUyHJ_2ADZfaXmpZqegBwLmh+phb+-A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div>
<div>Dear z2pack, </div>
<div>I used the code to understand the example of Haldane
model.</div>
<div>However, I changed the bands flag to test it and I
found the Chern number for different values of:</div>
<div><br>
</div>
<div>band=0 chern= doesn't work</div>
<div>band=1 chern=-1</div>
<div>band=[0] chern=-1</div>
<div>band=[1] chern=1</div>
<div>band=[0,1] chern=0</div>
<div><br>
</div>
<div>Why It is finding found a different between 1(both
bands according to manual) and [0,1] bands?</div>
<div>Thank you in advance for your help</div>
<div><br>
</div>
<div>Best regards,</div>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<table
style="text-align:right;color:rgb(80,0,80);font-size:12px;border-collapse:collapse"
cellspacing="0" cellpadding="0"
border="0">
<tbody>
<tr>
<td style="border-style:none
solid none
none;padding:0cm
5.4pt;width:165.3pt;border-right-color:rgb(165,165,165);border-right-width:1pt"
width="220">
<div
style="text-align:right"><img
src="https://www.uninorte.edu.co/documents/1542707/8266806/UN_rojo.png"
alt="Resultado de
imagen para uninorte
logo"
moz-do-not-send="true"
width="200"
height="64"><br>
</div>
</td>
<td style="border:medium
none;padding:0cm
5.4pt;width:285.05pt"
width="380" valign="top">
<p
style="margin-bottom:0pt;line-height:11.2pt"
align="left"><font
face="tahoma,
sans-serif"
color="#ff0000"><span
style="line-height:11.2pt;font-size:12pt">Rafael J. González Hernández </span></font></p>
<p
style="margin-bottom:0pt;line-height:11.2pt"
align="left"><font
color="#444444"><font
size="1"
face="tahoma,
sans-serif">Profesor
Asociado <br>
<span
style="line-height:14.9333px">Departamento
de Física. </span></font><font
size="1"
face="tahoma,
sans-serif">Of.
2-45. Bloque L-6.<br>
Tel. +57 5 3509509
Ext. 3425 <br>
<a
href="http://www.uninorte.edu.co/"
target="_blank"
moz-do-not-send="true">E</a>mail:
<a
href="mailto:rhernandezj@uninorte.edu.co"
target="_blank"
moz-do-not-send="true">rhernandezj@uninorte.edu.co</a></font></font><br>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<i>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.</i>
</blockquote>
</body>
</html>