Returns the expansion coefficients between the fields recorded at two arbitrary DFT monitors or saved in two d-cards. The coefficients are defined according to:
$$ \begin{array}{l}{a=0.25 *\left(\frac{\int d \vec{S} \cdot \vec{E}_{1} \times \vec{H}_{2}^{*}}{N}+\frac{\int d \vec{S} \cdot \vec{E}_{2}^{*} \times \vec{H}_{1}}{\operatorname{conj}(N)}\right)} \\ {b=0.25 *\left(\frac{\int d \vec{S} \cdot \vec{E}_{1} \times \vec{H}_{2}^{*}}{N}-\frac{\int d \vec{S} \cdot \vec{E}_{2}^{*} \times \vec{H}_{1}}{\operatorname{con} j(N)}\right)} \\ {N=0.5^{*} \int d \vec{S}\cdot \vec{E}_{2} \times \vec{H}_{2}^{*}} \\ {P=0.5 * \int d \vec{S} \cdot \vec{E}_{1} \times \vec{H}_{1}^{*}}\end{array} $$
For more detail on how to use this command, definitions on the parameters and how to interpret the results, please see Using Mode Expansion Monitors . Note that N is the power of the waveguide mode. conj(N) is equal to N if this is a real number. For the unconjugated coefficients, see expand2 .
Syntax |
Description |
---|---|
expand('monitor1','monitor_ref',x,y,z); |
outputs the expansion coefficients between the fields of two monitors (or d-cards)
|
Example
The following script expands the fields from monitor "R" onto the reference monitor "R_ref":
M = expand('a','b',0,0,0); f = getdata('R','f'); a = pinch(M,1,1); b = pinch(M,1,2); n = pinch(M,1,3); p = pinch(M,1,4); S11 = b;
See Also
List of commands , Using Mode Expansion Monitors , setexpansion , removeexpansion , expand2