triqs.gfs.plot.select_indices.select_path_indices

triqs.gfs.plot.select_indices.select_path_indices(path, mesh, verbose=False)[source]

Return mesh indices tracing a piecewise-linear path through mesh.

Parameters:
pathsequence of points

Vertices of the path, in order.

meshiterable of points

Available mesh points.

verbosebool, optional

If True, also return a list of (path_index, mesh_index) pairs marking the high-symmetry points.

Returns:
list of int

Mesh indices along the path.

list of (int, int), optional

Only returned when verbose=True: (path_index, mesh_index) pairs at each high-symmetry point.