triqs.lattice.bz_patch.BZPatch

class triqs.lattice.bz_patch.BZPatch(name, polygons)[source]

Bases: object

A polygonal patch of the Brillouin zone, triangulated for use with triqs.lattice.tight_binding.dos_patch().

The input polygons are triangulated internally (one triangle per consecutive triple of vertices, fan-style from the first vertex), and the patch area is computed as the sum of triangle areas.

Parameters:
namestr

Identifier for the patch (used to label downstream DOS results).

polygonslist of list of pairs of floats

List of polygons, each given as an ordered list of 2D vertices in the Brillouin zone.

Attributes

name

(str) Identifier for the patch.

weight

(float) Total area of the patch (sum of triangle areas).

Methods

dos(TB, n_eps, n_div)

Compute the partial density of states of a tight-binding Hamiltonian on this patch.