autorange_threshold_scan Not terminating for many stuck pixels
The scan_threshold_autorange algorithm can freeze in case of a noisy chip. To reproduce, just set the linear to a threshold around 1ke and without tuning, run the fast threshold scan. Since some pixels are presumably stuck, they will never respond and therefore the algorithm will not terminate.