triqs.gfs.plot.bz.length

triqs.gfs.plot.bz.length(path)[source]

Total Euclidean length of a piecewise-linear path.

Parameters:
pathsequence of (float, float)

Vertices of the path in order.

Returns:
float

Sum of segment lengths between consecutive vertices.