Skip to content

RCWA Backend Parity Report ​

Generated on 2026-11-02 from the real PixelStack -> RCWA adapter path.

This report runs a small 1.0 um BSI PixelStack through each RCWA backend adapter with the same TE source and wavelength list. It is a backend-health gate, not a converged optical benchmark: the Fourier orders are deliberately small so adapter failures and normalization mismatches are visible quickly.

Executive summary ​

  • 4 of 4 RCWA adapters produced bounded, energy-consistent R/T/A values in this smoke test.
  • 2 of 4 adapters met the parity target against torcwa (max R/T/A delta <= 0.05).
  • Production pixel comparisons require converged R/T/A and independently validated photodiode QE. Passing this low-order health gate establishes neither condition.

Low-order smoke test

This report does not claim converged QE. It checks whether adapters can run the same patterned stack and return plausible R/T/A numbers. Converged solver settings belong in the convergence report.

R/T/A spectra ​

RCWA backend spectra

Health and runtime ​

RCWA backend health

Backend table ​

Backendphysical okparity okR@550T@550A@550mean QE@550energy residualmax delta vs torcwaruntime sfirst warning/error
torcwayesyes0.03420.00070.96520.0057000.6604-
grcwayesyes0.03420.00070.96520.895801.73e-070.0545-
meent/numpyyesno0.00760.00260.98980.905900.05251.3291-
fmmaxyesno0.01950.01180.96870.897300.050466.5784-

Interpretation ​

  • physical ok means finite, bounded R/T/A values and |R+T+A-1| <= 0.05.
  • parity ok means physical output and max R/T/A delta against torcwa <= 0.05.
  • mean QE is the adapter's photodiode-allocation proxy averaged over the four Bayer pixels. It is useful for detecting broken absorption allocation, not for design decisions at this low order.
  • A backend can import successfully but still fail this report if the adapter uses stale upstream APIs or incompatible normalization.

Regeneration ​

powershell
uv run python scripts\generate_rcwa_backend_parity_report.py

Generated metrics are stored at docs/public/reports/rcwa-backend-parity/rcwa_backend_parity_metrics.json.