Hello,
I'm enjoying using prysm.version '0.21.1'. However noticed that prysm.psf.encircled_energy keeps crashing. When inspecting I've realised on line 314 we have nx, ny = np.meshgrid(mtf.x, mtf.y). However mtf.x , mtf.y is already a meshgrid. So the function is meshgriding a meshed grid. Setting nx, ny = mtf.x, mtf.y seems to fix the issue.
Thanks for the great work!
Hello, I'm enjoying using prysm.version '0.21.1'. However noticed that prysm.psf.encircled_energy keeps crashing. When inspecting I've realised on line 314 we have nx, ny = np.meshgrid(mtf.x, mtf.y). However mtf.x , mtf.y is already a meshgrid. So the function is meshgriding a meshed grid. Setting nx, ny = mtf.x, mtf.y seems to fix the issue. Thanks for the great work!