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.
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.