triqs.gfs.plot.bz.generate_points
- triqs.gfs.plot.bz.generate_points(A, B, n_points)[source]
Sample
n_pointsevenly-spaced points on the segment[A, B].- Parameters:
- A, Bsequence of float
Endpoints
(x, y)of the segment.AandBare 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
AtoB.