Returns the grating period (i.e. the simulation span) used in the grating calculations. gratingperiod1 gives the grating period for the first dimension (2D and 3D). gratingperiod2 gives the period of the 2nd dimension (3D only). See the grating function documentation for information on interpreting N, M, ux, uy for various monitor orientations.
Syntax |
Description |
---|---|
out = gratingperiod1( "monitorname", ...); |
Same arguments as grating function. |
See Also