pythtb.Lattice.add_orb#

Lattice.add_orb(orb_pos)[source]#

Add an orbital to the lattice.

Parameters:
orb_posarray_like

Position of the new orbital in reduced coordinates (fractions of the lattice vectors). Must be of length dim_r.

Returns:
None

Notes

  • The new orbital is added at the end of the list of orbitals.

  • The number of orbitals norb is updated accordingly.