Skip to content

Commit 16ce274

Browse files
committed
Updated the documentation for E2 and irradiance
1 parent 9cec866 commit 16ce274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

+ott/Bsc.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@
154154
% functions. Pass empty arrays for unused values.
155155
% - field_type -- (enum) Type of field to calculate.
156156
% Supported types include:
157-
% - 'irradiance' -- :math:`\sqrt{Ex^2 + Ey^2 + Ez^2}`
158-
% - 'E2' -- :math:`Ex^2 + Ey^2 + Ez^2`
157+
% - 'irradiance' -- :math:`\sqrt{|Ex|^2 + |Ey|^2 + |Ez|^2}`
158+
% - 'E2' -- :math:`|Ex|^2 + |Ey|^2 + |Ez|^2`
159159
% - 'Sum(Abs(E))' -- :math:`|Ex| + |Ey| + |Ez|`
160160
%
161161
% - Re(Er), Re(Et), Re(Ep), Re(Ex), Re(Ey), Re(Ez)

0 commit comments

Comments
 (0)