Skip to content

API Reference

DeepLens exposes a small, composable API. Every optical system is a lens model that shares the common Lens interface — psf(), render(), optimization, and file I/O — and is built on optical surfaces, light/wave representations, and image-simulation utilities.

Pick the lens model that matches your optical system:

  • GeoLens


    Multi-element refractive lens via differentiable geometric ray tracing. The primary model.

    GeoLens

  • HybridLens


    Refractive lens plus a diffractive element — hybrid ray-then-wave propagation to the sensor.

    HybridLens

  • DiffractiveLens


    Pure wave-optics lens built from diffractive surfaces and scalar diffraction.

    DiffractiveLens

  • PSFNetLens


    Neural surrogate wrapping a GeoLens with an MLP for fast, differentiable PSFs.

    PSFNetLens

  • DefocusLens


    Thin-lens / circle-of-confusion model for fast depth-of-field and bokeh.

    DefocusLens

Shared building blocks live in Optics Core; neural PSF predictors live in Surrogate Networks.