Geometric.LinesegmentUtils# Geometric.LinesegmentUtils.py Copyright (c) 2024, SAXS Team, KEK-PF linregress_segments(segments)# reduce_segments(segments, i)# restore_segments(slope, intercept, segments)#