← Back to Lab

1D Grating RCWA

Rigorous Coupled Wave Analysis (Fourier modal method) for 1D binary gratings. Compute reflection R(λ) and transmission T(λ). Runs in-browser via Pyodide + inkstone.
First load downloads ~35 MB (Pyodide + numpy + scipy + inkstone) — cached after.

Grating

Number of Fourier orders used in the RCWA expansion. Higher values improve convergence for sharp or high-contrast gratings, but make the calculation slower.

Materials ε = n²

Top + i
Ridge + i
Groove + i
Substrate + i

Incidence

Wavelength sweep

RCWA (Fourier modal method). Expands fields in plane-wave harmonics of the grating period and solves the eigenvalue problem in each layer. Diffraction orders couple through the Fourier decomposition of ε(x).

Reflection / Transmission spectrum Initializing…
Geometry and solver conventions 1D periodic, φ = 0
RCWA 1D grating geometry convention A 1D grating with x-period Lambda, invariant y direction, z layer stacking, top superstrate, finite patterned grating, substrate, incident wave vector, incidence angle theta, and TE/TM polarization definitions. Ridge Groove Superstrate / top semi-infinite input Patterned layer ridge + groove Substrate semi-infinite output Λ period along x ridge width thickness d kinc θ surface normal
  • x is periodic with period Λ; y is invariant along the ridge direction.
  • z follows the layer stack from top/superstrate to substrate.
  • The incident plane wave enters from the top region; θ is measured from the surface normal in the x-z plane.
  • s/TE means E along y; p/TM means E lies in the x-z incidence plane.