Overview of TorchOptics features
mainTorchOptics is a Python library for simulating optical systems using Fourier optics, built on top of PyTorch. It is designed for end-to-end optimization of optical hardware jointly with machine learning models.
Key capabilities include:
- Differentiable Wave Optics: Model and optimize systems using Fourier optics.
- PyTorch Integration: Leverages GPU acceleration, batch processing, and automatic differentiation.
- Optical Elements: Support for lenses, phase/amplitude modulators, detectors, polarizers, and more.
- Spatial Profiles: Includes Hermite-Gaussian, Laguerre-Gaussian, Zernike modes, and gratings.
- Polarization & Coherence: Simulation of polarized light and fields with arbitrary spatial coherence.