Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot_intensity() slice plot does not respect the square_root option. #46

Open
hadmack opened this issue Nov 17, 2023 · 0 comments · May be fixed by #47
Open

plot_intensity() slice plot does not respect the square_root option. #46

hadmack opened this issue Nov 17, 2023 · 0 comments · May be fixed by #47

Comments

@hadmack
Copy link

hadmack commented Nov 17, 2023

When using plot_intensity() with the slice_y_pos option, the square_root scaling is not respected. In plot_intensity.py line 152-153 the units are always W/m^2 and I**2 is plotted even if the I = √I was not computed due to the square_root=False.

Slices are only plotted correctly when square_root=True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant