tightbinder.topology.chern_marker#

chern_marker(system, results, ef=0)[source]#

Routine to evaluate the Chern marker at every position of the lattice. Must be used with systems with OBC or PBC at k=0.

Parameters:
  • system (System) – System to compute the Chern marker.

  • results (Spectrum) – Spectrum object with the results from the diagonalization.

  • ef (float) – Fermi energy, defaults to 0 (for particle-hole symmetric systems).

Return type:

ndarray

Returns:

Array with the Chern marker evaluated at each atomic position.