Skip to main content
os-optics-kit Reproducible Case · 3D Free-Space & Scientific Interop Case interop-diffraction

Diffraction at a declared stop, handed off to external codes

A 532 nm TEM00 beam (1 mm waist, 1 mW) passes a 1.2 mm radius stop and an ideal f = 200 mm lens. The engine's transverse-plane handoff feeds LightPipes, prysm, POPPY and Diffractio, which calculate the diffracted focus the paraxial Gaussian result cannot give after truncation.

System Views & Physics Plots

3D view: the laser source, the planes pupil and stop_plane, the stop STOP, the lens L and the focal plane focus with the traced beam
3D view: the laser source, the planes pupil and stop_plane, the stop STOP, the lens L and the focal plane focus with the traced beam

Case Metadata & Verification Summary

Property Recorded Value Engineering Notes
Case Slug & Category interop-diffraction 3D Free-Space & Scientific Interop Case (domains: diffraction · gaussian-beam)
System Scale 1 optical elements · 1 sources Scale band: small; optical branches: 0
Quantitative Target Outcomes 1 / 1 met (0 unmet) Execution status: COMPLETED (deliberate negative controls and boundary checks stay transparently recorded)
Kit Study Tools & Catalog Native engine evaluation Declarative prescription or ideal optics; no catalog sync required
Technical Tags aperture-stop · handoff · interop · lightpipes · prysm · poppy Bundled inside os-optics-kit for deterministic offline verification

Key Physics & Workflow Highlights

Highlight 01

Traces a 532 nm TEM00 beam through a 1.2 mm stop and f = 200 mm lens, emitting GAUSSIAN_TRUNCATION warnings (and OUT_OF_MODEL_SCOPE at 0.5 mm)

Highlight 02

Hands off the transverse aperture field cleanly to external diffraction codes: LightPipes, prysm, POPPY, and Diffractio

Highlight 03

LightPipes converges within 10⁻³ of a Hankel reference, prysm/POPPY match profiles to 4×10⁻⁷, and Diffractio matches peak within 3×10⁻⁵

Copy & Verify Locally in Seconds

Copy the complete Project JSON, study scripts, and baseline artifacts into your working directory and run deterministic verification offline.

Terminal Commands (Python 3.11+)

python -m pip install os-optics os-optics-kit
os-optics-kit cases copy interop-diffraction --dest .
os-optics-kit cases verify interop-diffraction

Single-Task AI Agent Prompt

Using os-optics and os-optics-kit in my local Python environment, copy and verify built-in case interop-diffraction (os-optics-kit cases copy interop-diffraction --dest ./interop-diffraction && os-optics-kit cases verify interop-diffraction), summarize every target assessment and key physical metric, and open the local 3D view.

Inspect the Case Source or Contribute a Study

Every Project file, tolerance study, and README for this case is MIT-licensed on GitHub. Browse the directory, star OS Optics, or share your workflow in Discussions.