triqs.gfs.plot.bz

Plot helpers for Green’s functions on a 2D Brillouin-zone or cyclic-lattice mesh.

Provides

  • make_plottable() — interpolate the data on a regular nk x nk grid suitable for contourf / heatmaps.

  • slice_on_path() — sample the Green’s function along a piecewise-linear path through k-space (band-structure-style plots).

  • plot() — TRIQS plot-protocol dispatcher consumed by oplot().

Functions

dist(A, B)

Euclidean distance between two 2D points.

generate_points(A, B, n_points)

Sample n_points evenly-spaced points on the segment [A, B].

generate_points_on_path(path, n_points)

Distribute n_points samples along a piecewise-linear path.

length(path)

Total Euclidean length of a piecewise-linear path.

make_plottable(self[, method, nk])

Interpolate self on a regular nk x nk k-grid for plotting.

plot(self, opt_dict)

Plot-protocol implementation for Green's functions on a 2D BZ / cyclic-lattice mesh.

slice_on_path(self, path[, n_pts, method])

Sample the (0, 0) component of self along a path in the BZ.