mjhoptics / ray-optics

geometric ray tracing for optical systems
BSD 3-Clause "New" or "Revised" License
263 stars 54 forks source link

.. image:: https://readthedocs.org/projects/ray-optics/badge/?version=latest :alt: ReadTheDocs :target: https://ray-optics.readthedocs.io/

.. image:: https://img.shields.io/pypi/v/rayoptics.svg :alt: PyPI-Server :target: https://pypi.org/project/rayoptics/

.. image:: https://img.shields.io/conda/vn/conda-forge/rayoptics.svg :alt: Conda-Forge :target: https://anaconda.org/conda-forge/rayoptics

========== ray-optics

Installation

To install rayoptics using pip, use

.. code::

> pip install rayoptics

Alternatively, rayoptics can be installed from the conda-forge channel using conda

.. code::

conda install rayoptics --channel conda-forge

Documentation

The documentation for ray-optics is hosted at Read the Docs <https://ray-optics.readthedocs.io>_

Tools for image forming optical design and analysis

RayOptics is a Python geometrical optics and image forming optics library. It provides a geometric ray tracing foundation for the analysis of image forming and coherent optical systems. A number of standard geometrical analysis options such as transverse ray and wavefront aberration analysis are provided on this base. Paraxial layout of optical systems is also supported by y-ybar diagrams and graphical editing of paraxial rays in lens layout views. Import of Zemax .zmx and CODEV .seq files is supported. RayOptics can be used in Python scripts, the Python and IPython shells, the Jupyter notebook, and a Qt-based graphical user interface application.

Getting Help

Users of ray-optics are encouraged to post questions to the Discussions page of the Github repository. Please post any bug reports to the Issues page in the repo. The author welcomes questions and comments posted on Github and will try to be responsive. The author will not respond to emails with questions about ray-optics.

Note

This project has been set up using PyScaffold 4.3. For details and usage information on PyScaffold see https://pyscaffold.org/.