rafael-fuente / diffractsim

✨🔬 A flexible diffraction simulator for exploring and visualizing physical optics.
https://rafael-fuente.github.io/simulating-diffraction-patterns-with-the-angular-spectrum-method-and-python.html
Other
668 stars 82 forks source link

Update plot_intensity.py to correct slice plot scaling when using the `square_root` option. #47

Open hadmack opened 10 months ago

hadmack commented 10 months ago

Resolves #46. Stopped slice plotting from computing I**2 so that the square_root option is respected. Updated slice plot label to match the 2D plot.