calamari.quality.CONTINUITY_WINDOW#
- calamari.quality.CONTINUITY_WINDOW = 2#
Neighbours on each side a point is compared against (so up to four neighbours, two on each side). Two is the smallest window whose leave-one-out median survives one bad neighbour; wider windows start to smooth over the sharp cusps the check must not flag.