Skip to content

fix: Allow negative EFLs by removing sign hack - #376

Merged
kmdouglass merged 1 commit into
mainfrom
fix_paraxial_efl
Jun 25, 2026
Merged

fix: Allow negative EFLs by removing sign hack#376
kmdouglass merged 1 commit into
mainfrom
fix_paraxial_efl

Conversation

@kmdouglass

@kmdouglass kmdouglass commented Jun 24, 2026

Copy link
Copy Markdown
Owner

This fixes a bug due to an out-of-date hack in the ParaxialView's calculation of the effective focal length. I now allow negative EFL values because the hack, which addressed systems with mirrors, is no longer necessary. This makes the widefield epifluorescence microscope example's EFL match the hand-calculated result, which is negative.

@kmdouglass
kmdouglass merged commit bec0fb9 into main Jun 25, 2026
2 checks passed
@kmdouglass
kmdouglass deleted the fix_paraxial_efl branch June 25, 2026 06:43
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

Successfully merging this pull request may close these issues.

1 participant