GNiendorf / tracepy

Ray Tracing and Optical Design in Python
https://tracepy.readthedocs.io
MIT License
60 stars 14 forks source link
geometric-optics geometric-regime lens-design lens-engineering lens-modeling modeling optical-design optical-engineering optics optimization optimization-algorithms pypi python python3 ray-tracer ray-tracing raytracing raytracing-algorithms tracepy-algorithm

TracePy

Documentation Status PyPI version

Ray Tracing and Optical Design in Python

Overview

TracePy is a sequential ray tracing package written in Python 3 for designing optical systems in the geometric optics regime. It features lens optimization from Scipy.

Installation

To use TracePy you can either clone the repository and use the command "pip install ." in the download directory, or you can download TracePy directly through pypi with the command below.

pip install tracepy

Examples

To get started using the software, you can look at the examples provided in the 'examples' folder. The UI for TracePy is most similar to BEAM4, and TracePy's ray tracing algorithm was recreated from Spencer and Murty's iconic paper, "General Ray-Tracing Procedure".