Skip to content

Commit 0aea026

Browse files
committed
Fix power convention issue
1 parent 9cf1f14 commit 0aea026

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AstigmaticGaussian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ Compute the optical intensity [W/m²] of the beamlet at position `(r, z)`.
755755
"""
756756
function intensity(agb::AstigmaticGaussianBeamlet, r::AbstractArray, z::Real)
757757
E = electric_field(agb, r, z)
758-
return 0.5 * norm(E)^2 # Assuming vacuum impedance normalization for simplicity in this package
758+
return intensity(E)
759759
end
760760

761761
"""

0 commit comments

Comments
 (0)