Examples#
This section is the Phase 2 entry point for example-driven documentation.
The notebooks under examples/notebooks/ remain the canonical rendered tutorial artifacts, synced from the source scripts in examples/scripts/. During docs builds, the notebooks are mirrored into the docs tree and rendered directly as pages below.
Recommended order:
basic_propagationfor the core optics objects and a first forward passlens_optimizationfor the main differentiable-optics workflowOne domain-specific branch:
4f_correlatorfor Fourier optics,hologram_coherent_logofor phase-only design, orincoherent_camerafor incoherent imagingThen the family extensions and more specialized examples
Example families:
lens_optimization->sensitivity_analysis,metaatom_optimization4f_correlator->4f_edge_optimizationhologram_coherent_logo->holography_polarized_dual
- Basic Propagation — First Optical Stack
- Diffractive Lens Optimization — Focusing a Plane Wave
- 4f Optical Correlator
- Coherent Hologram — Phase-Only Logo Reconstruction
- Incoherent Camera Imaging — PSF and OTF Modes
- Optical Neural Network (ONN) on MNIST — Phase-Mask Classifier
- 4f Edge Detection — Learning the Vortex Phase Filter
- Polarization-Multiplexed Holography — Dual Reconstructions
- Meta-Atom Library Optimization — Focusing with Interpolated Unit Cells
- Sensitivity Analysis and Fisher Information for a Diffractive Lens