Commented and changed centroid function.
Now the BG subtraction makes
- hot pixels 0 after dark subtraction, if masking is used
- hot pixels dark mean if masking is used but dark subtraction is not
I am sorry I made a wrong merge request earlier - just learning git...