Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thin lens OPD sign? #164

Closed
mperrin opened this issue Aug 23, 2018 · 1 comment
Closed

thin lens OPD sign? #164

mperrin opened this issue Aug 23, 2018 · 1 comment
Milestone

Comments

@mperrin
Copy link
Collaborator

mperrin commented Aug 23, 2018

Issue by mperrin
Friday Apr 22, 2016 at 21:39 GMT
Originally opened as mperrin/poppy#164


While working on #129 I ran into something I've now manage to confuse myself about: The sign of the defocus term for the thin lens class.

Right now the convention is that a poppy.ThinLens with a positive number of waves of defocus has a negative OPD at its center, and a positive OPD at its edge. I.e. it is a diverging optic such as a biconcave lens or a convex mirror. See figure.

unknown

This seems backwards to me, but maybe I've just gotten turned around in my head about signs. Questions...

  • Should we flip the sign behavior here? If so that's a significant change in a sense.
  • Should we leave the behavior as-is, and just document it more clearly?
  • Do we have to worry about sign convention consistency between ThinLens and fresnel.QuadraticLens?

Need to think about these more when it's not the end of Friday.

@mperrin mperrin added this to the 0.5 milestone Aug 23, 2018
@mperrin
Copy link
Collaborator Author

mperrin commented Aug 23, 2018

Comment by mperrin
Monday Jun 06, 2016 at 20:17 GMT


Yeah I'm convinced this is the case based on double checking against simulated WFS images from ITM. Right now we have the signs the wrong way around in the weak lens images, and I believe that flipping the sign in poppy is the right way to fix it.

@mperrin mperrin closed this as completed Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant