triqs.gfs.plot.bz.generate_points

triqs.gfs.plot.bz.generate_points(A, B, n_points)[source]

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

Parameters:
A, Bsequence of float

Endpoints (x, y) of the segment. A and B are included as the first and last returned points.

n_pointsint

Number of points along the segment (must be >= 2).

Returns:
list of (float, float)

The sampled points, in order from A to B.