External optimization and Sobol tolerance of a beam expander
SciPy and Optuna collimate a catalog-free Keplerian expander (ideal thin lenses f = 50 mm and 150 mm, 532 nm, 0.5 mm waist) by moving L2, with every design run by the engine; SALib Sobol indices then rank the mounting errors. An ABCD reference checks every value.
System Views & Physics Plots
Case Metadata & Verification Summary
| Property | Recorded Value | Engineering Notes |
|---|---|---|
| Case Slug & Category | interop-optimization | 3D Free-Space & Scientific Interop Case (domains: gaussian-beam) |
| System Scale | 2 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 | optimize | Declarative prescription or ideal optics; no catalog sync required |
| Technical Tags | beam-expander · optimization · sensitivity · interop · scipy · optuna · salib | Bundled inside os-optics-kit for deterministic offline verification |
Key Physics & Workflow Highlights
Couples SciPy and Optuna to collimate a 532 nm Keplerian beam expander across 710 logged engine evaluations
SciPy matches the analytical ABCD optimum (200.0573 mm) within 9×10⁻⁷ mm; Optuna achieves divergence within 0.14% of optimum
SALib Sobol sensitivity indices match analytical references to 2×10⁻¹⁴; infeasible targets exit cleanly with NO_FEASIBLE_RESULT
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-optimization --dest .
os-optics-kit cases verify interop-optimization Single-Task AI Agent Prompt
Using os-optics and os-optics-kit in my local Python environment, copy and verify built-in case interop-optimization (os-optics-kit cases copy interop-optimization --dest ./interop-optimization && os-optics-kit cases verify interop-optimization), 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.