pythtb.Mesh.unloop#

Mesh.unloop(axis_idx, component_idx, unwind_bz=False, open=False)[source]#

Declare an axis as not looping a specified component of the mesh vector.

Calling this function will mark an axis as winding a given component of the vector in \((\mathbf{k}, \lambda)\)-space. This means that the two ends of the axis are identified, and sampling along axis_idx winds component_idx around a cycle that brings the Hamiltonian back into itself.

Notes

  • This allows WFArray to decide whether phases apply to k-components at the edge of the mesh (loop is closed) or just beyond the edge of the mesh (loop is open). This will apply when axis_idx is a k-axis and component_idx is a k-component.