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

Scaled visualisation of Beams #54

Open DavidDierickx opened 1 year ago

DavidDierickx commented 1 year ago

As it is, beams only visualise in the Napari window with the same visual length regardless of the propagation distance. This can be changed manually through the console but preferably an option to scale it (either automatically with a fixed "pixel size" along the propagation distance) or with a slider to determine the relative Z scaling would be great.

DavidDierickx commented 1 year ago

As an added note, the beam visualisation DOES scale if you change the number of steps (i.e. 20 steps will give you twice the visualisation distance), however increased steps should only increase the effective resolution of the z axis, while maintaining the visualisation distance.

DavidDierickx commented 1 year ago

Pixel size of the simulation also scales the X/Y components of the visualisation. I don't think this is intuitive.