calamari.fitting.models.MIN_POINTS_PER_SEGMENT#
- calamari.fitting.models.MIN_POINTS_PER_SEGMENT = 3#
The fewest points a segment of
segmented_linear()may keep on each side of the corner. Two points fix a line exactly, leaving nothing to judge it by; three is the fewest that leaves each segment’s line a residual degree of freedom. Candidate corners in the profile, and the default limits offit_breakpoint(), keep at least this many points strictly below and strictly above.