-
-
Notifications
You must be signed in to change notification settings - Fork 120
Closed
Labels
Description
Description
Add a plot_airy boolean option to analysis.SpotDiagram.view() to overlay the Airy disk on top of the spot diagram figure.
Add a plot_pixel boolean option to analysis.SpotDiagram.view() to overlay the pixel square on top of the spot diagram figure.
This allows the user for a quick visual assessment of the image quality when looking at the spot diagram.
Note that the Airy disk is not necessarily a circle, it can be oval if the focal lengths are not equal in X and Y directions.
Requirements
- Compute the Airy disk diameter as
$r = 1.22 \cdot \lambda \cdot N$ in both directions, using a real ray trace (not paraxial quantities) - Plot the airy disk as a dashed black line, centered on the (x,y) coordinates of the chief ray in the image plane
- Add a
pixel_pitchoptionnal argument tooptic.Optic()to specify the pixel size in mm - Plot the pixel as a dashed black line, centered on the (x,y) coordinates of the chief ray in the image plane
- Add documentation
- Add unit tests.
Reactions are currently unavailable