Skip to main content

GETPSF General Error

  • December 11, 2020
  • 1 reply
  • 29 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?


 

Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings