Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Grating projections

gratingangle

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

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

 

Syntax

Description

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

Same arguments as grating function.

 

Example

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