GETPSF General Error

  • 11 December 2020
  • 1 reply
  • 25 views

I have a macro calling GETPSF for various thicknesses to the focal plane, and I am getting np = -3,  'General Error' returned when I use Gaussian apodization.


I have checked that the FFT PSF is calcualting without error for the same thicknesses as are in my macro.


What else can cause a 'General Error' in response to a call to GETPSF?


 


1 reply

Userlevel 6
Badge +2

A General Error is when the PSF cannot be computed by OpticStudio.


For example, when you get this error, it will return np=-3.



So would you mind sharing your examle with us? Feel free to open a case or send us an email at support@zemax.com to share it.


Thank you!


Sandrine

Reply