DeMarcoLab / juno

juno is a simulation package for optical system design using full wave propagation.
https://demarcolab.github.io/juno
MIT License
59 stars 2 forks source link

Custom aperture #17

Closed patrickcleeve2 closed 2 years ago

patrickcleeve2 commented 2 years ago

This pull request adds the ability to load custom apertures from file (only for custom profiles loaded from file).

For a custom lens with filename: custom/my_lens.npy

load a custom aperture by supplying the matching file: custom/my_lens.aperture.npy