It turns out that identifying hot pixels as pixels hit by the LED doesn't work well. There is a smooth transition (see pixhits.csv). min2.py separates data in a given rectangle of pixels.