Published January 5, 2026 | Version 0.6.1
Software Open

pygrin: A Python module for ray tracing through gradient-index (GRIN) lenses

Authors/Creators

Description

pygrin is a Python library for modeling and ray tracing optical systems containing gradient-index (GRIN) media. It supports classical pitch-based lens definitions including SELFOC-style geometries and variable refractive index fields for simulation, education, and optical design research.

Notes

If you use this software, please cite it as below.

Files

scottprahl/pygrin-0.6.1.zip

Files (1.8 MB)

Name Size Download all
md5:7b9e9da2054e3e22a28de64fadada2c4
1.8 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/scottprahl/pygrin/tree/0.6.1 (URL)

Software