eigTB code

class eigTB.eigTB(lat)[source]

Bases: object

Solve the Tight-Binding eigenvalue problem of a lattice defined using the class latticeTB.

Parameters:latlatticeTB class instance.
set_onsite(on)[source]

Set onsite energies.

Parameters:on – Array. Sublattice onsite energies.
set_hop(ho)[source]

Set the lattice hoppings.

Parameters:ho – Array (size n). nth first hopping values.
set_onsite_def(ind, on_def)[source]

Set specific onsite energies.

Parameters:
  • ind – Array. Site indices.
  • on_def – Array. Onsite energy values.
set_hop_def(ind, hop_def)[source]

Set specific hoppings.

Parameters:
  • ind – Array. Hopping Indices, size (2      imes N_{def}).
  • on_def – Array. Onsite energy values.
set_disorder(alpha)[source]

Set a generic hopping disorder.

Parameters:alpha – Stength of the disorder.
set_disorder_on(alpha)[source]

Set a generic disorder.

Parameters:alpha – Stength of the disorder.
get_ham(compl_trans=False)[source]

Get the Tight-Binding Hamiltonian.

Parameters:compl_trans – Default value False. Add complex transposed part to the Hamiltonian.
get_eig(eigenvec=False)[source]

Get the eigenergies, eigenvectors and polarisations of the Tight-Binding model for non-Hermitian Hamiltonians.

Parameters:eigenvec – Default value False. Get the eigenvectors.
get_state_pola(pola_tag)[source]

Get the state with maximal polarization on one sublattice.

Parameters:tag – Sublattice tag.
Returns:
  • intensity – Intensity of max polarized state on tag.
get_states_en(e_min, e_max)[source]

Get, if any, the intensity of the sum of the states between e_min and e_max.

Parameters:
  • e_min – Energy min.
  • e_max – Energy max.
Returns:

  • intensity – Sum of the intensities between e_min and e_max.