Skip to content
Discussion options

You must be logged in to vote

Hi @rjmoerland,

Thanks a lot for the detailed notes and for testing these cases thoroughly. Very helpful observations.

On f2(), you’re right. This is just the effective focal length, and I honestly don’t recall why we used abs() there. EFFL can indeed be negative, so that can be removed, especially if all tests still pass. I vaguely remember changing this, but don't recall why. We can investigate if really needed.

For flip(), I agree it’s inconsistent that paraxial lenses change sign while physical ones don’t. That wasn’t intentional, so I’m fine with adjusting that if it doesn’t break existing behavior.

For negative image positions, yes, that’s currently intended but could be made cleare…

Replies: 6 comments 1 reply

Comment options

rjmoerland
Oct 20, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

rjmoerland
Oct 20, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

rjmoerland
Oct 20, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rjmoerland
Comment options

rjmoerland
Oct 22, 2025
Collaborator Author

You must be logged in to vote
1 reply
@HarrisonKramer
Comment options

Comment options

rjmoerland
Oct 26, 2025
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants