Skip to content

Commit

Permalink
clarify forward/backward mode coefficients (#2616)
Browse files Browse the repository at this point in the history
* clarify forward/backward mode coefficients

* Update simulation.py

* Update doc/docs/Python_User_Interface.md
  • Loading branch information
stevengj authored Sep 7, 2023
1 parent d07df02 commit 8d2fd8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/docs/Python_User_Interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ following fields:
+ `alpha`: the complex eigenmode coefficients as a 3d NumPy array of size
(`len(bands)`, `flux.nfreqs`, `2`). The last/third dimension refers to modes
propagating in the forward (+) or backward (-) directions defined relative to
the mode's dominant wavevector.
the sign of the propagation constant β of the mode (the wavevector component in the direction perpendicular to the mode-monitor plane).
+ `vgrp`: the group velocity as a NumPy array.
+ `kpoints`: a list of `mp.Vector3`s of the `kpoint` used in the mode calculation.
+ `kdom`: a list of `mp.Vector3`s of the mode's dominant wavevector.
Expand Down
2 changes: 1 addition & 1 deletion python/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4145,7 +4145,7 @@ def get_eigenmode_coefficients(
+ `alpha`: the complex eigenmode coefficients as a 3d NumPy array of size
(`len(bands)`, `flux.nfreqs`, `2`). The last/third dimension refers to modes
propagating in the forward (+) or backward (-) directions defined relative to
the mode's dominant wavevector.
the sign of the propagation constant β of the mode (the wavevector component in the direction perpendicular to the mode-monitor plane).
+ `vgrp`: the group velocity as a NumPy array.
+ `kpoints`: a list of `mp.Vector3`s of the `kpoint` used in the mode calculation.
+ `kdom`: a list of `mp.Vector3`s of the mode's dominant wavevector.
Expand Down

0 comments on commit 8d2fd8d

Please sign in to comment.