mseaberg / Commissioning_Tools

0 stars 0 forks source link

Screen crashes if pixel size is too large for wavefront processing #54

Closed mseaberg closed 4 years ago

mseaberg commented 4 years ago

It seems that the program crashes when the pixel size is incompatible with the expected spatial frequency of the pattern on the imager, i.e. if the camera is binned when it shouldn't be. Of course the wavefront can't be calculated when this is the case but the program should exit gracefully when this is the case and send a message that the image is probably binned and that might be the problem.

mseaberg commented 4 years ago

Found a divide by zero, seems like this is close enough to fixed.