sCWatter: Open source coupled wave scattering simulation for spectroscopy and microscopy
Ruijiao Sun, Rohith Reddy, David Mayerich
TL;DR
This work tackles the challenge of accurately modeling 3D light scattering in microscopy at high numerical aperture by using coupled wave theory (CWT) with a Fourier-based representation of both the field and the sample. It introduces novel layer-to-layer connection equations that reduce the CW linear system dimensionality by a factor of $L$, enabling efficient, parallelizable simulations on consumer hardware and accelerated computation with Intel MKL and CUDA. The authors demonstrate the approach on various scenarios, including scattering through a cylinder, absorbance spectroscopy, and periodic 3D tissue-like samples, and provide analyses of accuracy versus Fourier cutoff $M$ and performance-tuning guidance. The combination of fast, accurate field computation and real-time visualization has practical impact for designing optical systems, validating scattering in microscopy, and enabling accessible, open-source tools for spectroscopy and imaging research.
Abstract
Several emerging microscopy imaging methods rely on complex interactions between the incident light and the sample. These include interferometry, spectroscopy, and nonlinear optics. Reconstructing a sample from the measured scattered field relies on fast and accurate optical models. Fast approaches like ray tracing and the Born approximation have limitations that are limited when working with high numerical apertures. This paper presents sCWatter, an open-source tool that utilizes coupled wave theory (CWT) to simulate and visualize the 3D electric field scattered by complex samples. The sample refractive index is specified on a volumetric grid, while the incident field is provided as a 2D image orthogonal to the optical path. We introduce connection equations between layers that significantly reduce the dimensionality of the CW linear system, enabling efficient parallel processing on consumer hardware. Further optimizations using Intel MKL and CUDA significantly accelerate both field simulation and visualization.
