You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, for the SCMOS CameraType, if CameraGain, CameraOffset and CameraNoise are scalars and CalibrationFilePath is empty, the algorithm can access random bits of memory, Note the comments in DataToPhotons:
% NOTE: This may be overwritten below if a calibration file
% is present and the camera type is specified as
% 'SCMOS'. If that happens, it was done on purpose!
% It's best to use the value in the calibration file
% rather than what the user has entered.
% If no filepath is given, or if the camera is
% specified as an EMCCD, we don't need to load a
% calibration file.
The fix is to make a 2D array for each of these quantities of the appropriate size and set equal to the scalar value provided, probably in DataToPhotons.m
The text was updated successfully, but these errors were encountered:
Right now, for the SCMOS CameraType, if CameraGain, CameraOffset and CameraNoise are scalars and CalibrationFilePath is empty, the algorithm can access random bits of memory, Note the comments in DataToPhotons:
% NOTE: This may be overwritten below if a calibration file
% is present and the camera type is specified as
% 'SCMOS'. If that happens, it was done on purpose!
% It's best to use the value in the calibration file
% rather than what the user has entered.
The fix is to make a 2D array for each of these quantities of the appropriate size and set equal to the scalar value provided, probably in DataToPhotons.m
The text was updated successfully, but these errors were encountered: