OS Optics vs CODE V
CODE V has long been the industrial benchmark for precision imaging lenses, multi-group zooms, and high-order aspheres. OS Optics serves a complementary modern need: an MIT-licensed pure-Python engine that replaces proprietary macro ecosystems and per-seat ceilings with open scientific composability, 3D free-space benches, and parallel AI agent workflows.
Where CODE V shines
- World-class sequential optimization: Global Synthesis, Glass Expert, and its damped least-squares solver excel at converging complex high-order asphere and zoom systems.
- Fast wavefront-differential tolerancing (TOR): Rapidly quantifies fabrication sensitivities and compensator trade-offs during lens sign-off.
- Deep production pedigree: Decades of validation across mobile optics, cinema primes, aerospace imagers, and projection lithography.
Where OS Optics excels
- Modern Python instead of proprietary macros: Build custom multi-objective optimizers and Sobol sensitivity pipelines natively with NumPy, SciPy, Optuna, and SALib.
- Imaging + 3D free-space in one engine: Design multi-element wide-angle or zoom lenses alongside 160+ optic 3D cold-atom and quantum benches using the same physics kernel.
- Seat-free multi-agent concurrency: Pair the stateless kernel with 2,805 offline starting prescriptions in os-optics-lens to explore parallel candidates in minutes.
- Transparent validity bounds & hashes: Every run carries explicit model-boundary tags and SHA-256 hashes so approximations are never mistaken for verified passes.
Engineering dimension breakdown
| Dimension | OS Optics | CODE V |
|---|---|---|
| Licensing & scaling | MIT open source; unlimited parallel workers | Enterprise per-seat commercial licensing |
| Scripting & automation | Native Python 3.11+ and structured JSON projects | Macro-PLUS proprietary scripting and COM wrappers |
| Optimization workflow | Stateless evaluation sessions + SciPy / Optuna + parallel AI agent swarms | Built-in damped least-squares, Global Synthesis, and Glass Expert |
| 3D non-sequential benches | First-class native engine with 3,000+ offline catalog optics | Primarily sequential imaging; heavy non-sequential relies on companion suites |
| Scientific Python interop | Verified handoffs to LightPipes, prysm, Perceval, QuTiP, and grcwa | Strong built-in imaging analyses; external Python bridges require custom glue |
| Starting prescriptions | 2,805 MIT searchable native prescriptions via os-optics-lens | Included lens samples and commercial patent collections |
Practical guidance for optical teams
Choose OS Optics when
- You are an academic lab, hardware startup, or independent engineer who needs cross-platform optics without seat barriers.
- You want multi-agent swarms to compare candidate architectures in under an hour with reproducible tolerance histograms.
- Your workflow blends free-space lasers, polarization interferometry, metasurfaces, or quantum photonics.
Keep CODE V when
- You are converging final mass-production mobile plastic aspheres or semiconductor lithography objectives.
- Your organization relies on established Macro-PLUS sign-off scripts and TOR tolerance standards.
Explore real lens prescriptions & tolerance audits
Inspect full MTF curves, spot diagrams, and honest Monte Carlo yield results across our published lens studies.