fix shift in calibration due to 18 dark pixels
a good peak must have snr > 4, positive lorentizen and FWHM < 10 pixels
fix factory mode crash when taking tests
calibration peaks must have FWHM < 5 to be accepted