-
Build a stack of homogeneous layers between a semi-infinite substrate
(incidence side) and cladding (exit side). The spectrum shows reflectance
and transmittance versus wavelength; the field view reconstructs the
standing-wave amplitude through the structure at a single wavelength.
- Editing layers. Set each layer's thickness,
n and κ in its box. The + button adds a
copy directly below, the ↑/↓ buttons reorder
it, and × removes it.
- Layer groups. Layers that share the same thickness,
n and κ form a group with the same colour. Click a
layer's colour circle to lock the whole group — a black ring
marks every member — so any edit to one entry applies to all of them
at once. Click the same circle again to unlock, or click a different
group's circle to switch the selection.
Method. The transfer-matrix method propagates the
tangential field through each homogeneous layer. The scalar field
F is the in-plane field component that stays continuous across
interfaces: F = Ey for TE (s)
polarization and F = Hy for TM (p).
Each layer uses ε = (n + iκ)2 and a normal
wavevector kz = √(k02ε − kx2),
with k0 = 2π/λ and the transverse wavevector
kx = ns k0 sinθ conserved across the stack.
The angle of incidence θ is measured inside the incidence
(substrate) medium ns.
The 2×2 stack matrix M = mN···m1
yields the amplitude coefficients R, T and the powers
ρ = |R|2 and τ. For a lossless stack τ + ρ = 1.