Please enable JavaScript to view this site.

Knowledge Base

Returns the angle vector corresponding to the values returned by grating, in degrees, for 2D simulations. For 3D simulations, use gratingu1 and gratingu2.


Supported Product: FDTD, MODE




out = gratingangle( "monitorname", ...);

Same arguments as grating function.



This example plots the relative strength of the grating orders.

mname="T";          # monitor name

theta=gratingangle(mname);  # angle of each grating order

G=grating(mname);      # power to each order (fraction of transmitted power)


plot(theta,G,"theta (deg)","relative power","grating orders","plot points");


See Also

Grating projections, grating, gratingu1, gratingu2

Copyright Lumerical Inc. | Privacy | Site Map