Please enable JavaScript to view this site.

Knowledge Base

Returns the expansion coefficients in the unconjugated form between the fields recorded at two arbitrary DFT monitors or saved in two d-cards. The coefficients in the unconjugated form are defined according to:



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.


Supported Product: FDTD, MODE





outputs the expansion coefficients between the fields of two monitors (or d-cards) in the unconjugated form

'monitor1': name of the monitor (or d-card) containing the fields E1 and H1 of which the expansion is performed

'monitor_ref': name of the reference monitor (or d-card) containing E2 and H2

x,y,z: spatial displacement of the fields from monitor1 with respect to those from monitor_ref



The following script expands the fields from monitor "R" onto the reference monitor "R_ref" in the unconjugated form:

M = expand2('R','R_ref',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

Adding Objects, Using Mode Expansion Monitors, setexpansion, removeexpansion, expand

Copyright Lumerical Inc. | Privacy | Site Map