Returns the mode expansion coefficients with respect to two FEEM solver results, or a FEEM solver result and a DGTD 2D frequency monitor result. The script command expects two structs according to the modeoverlap input.
Syntax |
Description |
---|---|
out = modeexpansion(struct1, struct2); |
|
out = modeexpansion(struct1, struct2, conjugated); |
Example
Using the two structs given in modeoverlap one can calculate the mode expansion coefficients as follows:
?modeexpansion(feem_struct, dgtd_struct);
?modeexpansion(feem_struct, dgtd_struct, false);
Note that bent waveguide FEEM calculations are not supported by this feature.
See Also
modeoverlap , struct, FEEM solver - Simulation object, DGTD solver - Simulation object