Design code and examples for polarization-analyzing metasurface diffraction gratings as in N.A. Rubin et al., "Matrix Fourier optics enables a compact full-Stokes polarization camera", Science 365 (6448) aax1839, 2019 [1]. That paper can be found here. See that paper and especially its supplement for extensive detail on the methods used here.
This repository contains everything needed to design and analyze a polarization-analyzing grating as described in that work. Please refer to the included Jupyter notebook Designing a metasurface polarization grating.ipynb
for instructions and an example of how this works.
For any questions, please submit an issue or contact me at noahrubin [at] ucsd.edu or noah.rbn [at] gmail.com.
If this code aides in your academic work, please cite [1]. In any case, feel free to reach out if you use this code for any project of any kind!
[1] Noah A. Rubin, Gabriele D'Aversa, Paul Chevalier, Zhujun Shi, Wei Ting Chen, and Federico Capasso. "Matrix Fourier optics enables a compact full-Stokes polarization camera", Science 365 (6448), 2019.