calamari.fitting.breakpoint.MIN_POINTS#

calamari.fitting.breakpoint.MIN_POINTS = 7#

The fewest points fit_breakpoint() accepts: MIN_POINTS_PER_SEGMENT strictly on each side of a corner that is itself a sample, so the profile over sample positions has at least one candidate. Seven points also leave the four-parameter fit three degrees of freedom.