TurPy: a physics-based and differentiable optical turbulence simulator for algorithmic development and system optimization

Joseph L. Greene, Alfred Moore, Iris Ochoa, Emily Kwan, Patrick Marano +1 more
4/8/2026
physics.opticscs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Developing optical systems for free-space applications requires simulation tools that accurately capture turbulence-induced wavefront distortions and support gradient-based optimization. Here we introduce TurPy, a GPU-accelerated, fully differentiable wave optics turbulence simulator to bridge high fidelity simulation with end-to-end optical system design. TurPy incorporates subharmonic phase screen generation, autoregressive temporal evolution, and an automated screen placement routine balancing Fourier aliasing constraints and weak-turbulence approximations into a unified, user-ready framework. Because TurPy's phase screen generation is parameterized through a media-specific power spectral density, the framework extends to atmospheric, oceanic, and biological propagation environments with minimal modification. We validate TurPy against established atmospheric turbulence theory by matching 2nd order Gaussian beam broadening and 4th order plane wave scintillation to closed-form models with 98% accuracy across weak to strong turbulence regimes, requiring only the medium's refractive index structure constant and power spectral density as inputs. To demonstrate TurPy as a gradient-based training platform, we optimize a dual-domain diffractive deep neural network (D2NN) in a two-mask dual-domain architecture to recover a Gaussian beam from a weakly turbulent path and achieving over 20x reduction in scintillation relative to an uncompensated receiver in simulation. TurPy is released as an open-source package to support synthetic data generation, turbulence-informed algorithm development, and the end-to-end design of optical platforms operating in turbulent environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{greene2026turpy,
  title  = {TurPy: a physics-based and differentiable optical turbulence simulator for algorithmic development and system optimization},
  author = {Joseph L. Greene and Alfred Moore and Iris Ochoa and Emily Kwan and Patrick Marano and Christopher R. Valenta},
  year   = {2026},
  eprint = {2604.07248},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.07248v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.07248.svg)](https://codeofpaper.com/paper/2604.07248)

Discussion