Skip to main content

Optics raytracer

Project description

.. image:: :target: .. image:: :target:


A c++ backed python optical raytracer.



Batoid is known to work on MacOS and linux, using Python version 3.8+, and either the clang or gcc compiler with support for c++14.



Released versions of batoid are available on pypi as source distributions. This means you will need at least c++14 compiler available and that can find it. This should hopefully be the case on most *nix systems, in which case, the following ought to work::

pip install batoid


If PyPI doesn't work, then you can try cloning the source from github and running Clone the repo with either ::

git clone

or ::

git clone

Once the repo has been cloned, then compile and install with ::

python install

or optionally ::

python install --user


To run the unit tests, from the batoid directory, first install the testing requirements ::

pip install -r test_requirements.txt

And then run the tests using pytest ::


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batoid-0.5.1.tar.gz (325.4 kB view hashes)

Uploaded source

Built Distributions

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page