Optics raytracer
Project description
.. image:: https://github.com/jmeyers314/batoid/workflows/batoid%20CI/badge.svg :target: https://github.com/jmeyers314/batoid/workflows/batoid%20CI/badge.svg .. image:: https://codecov.io/gh/jmeyers314/batoid/branch/master/graph/badge.svg :target: https://codecov.io/gh/jmeyers314/batoid
batoid
A c++ backed python optical raytracer.
docs
https://jmeyers314.github.io/batoid/overview.html
Requirements
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.
Installation
PyPI
Released versions of batoid are available on pypi as both wheels and source distributions. To compile from source, you will need a c++14 compiler available and placed such that that setup.py can find it. This should hopefully be the case on most *nix systems, in which case, the following ought to work::
pip install batoid
Github
If PyPI doesn't work, then you can try cloning the source from github and running setup.py. Clone the repo with either ::
git clone git@github.com:jmeyers314/batoid.git
or ::
git clone https://github.com/jmeyers314/batoid.git
Once the repo has been cloned, then compile and install with ::
pip install .
Tests
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 ::
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for batoid-0.7.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ced8a4db13afcf058b5beb1696e237844acfdacf49149772ceed96d7d0c56cf3 |
|
MD5 | f5807e1bb980e36c21033074c023ffcc |
|
BLAKE2b-256 | 004d2232dfc8e55a4b14511c1c220a389ab879dbb2d12fdc5aeb1d1fa3fe520f |
Hashes for batoid-0.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e31b3c9cf4b073d8064647543622fde4c8153b236471de2605b56f7cf7b73c7e |
|
MD5 | 22680789d32e987e37a15b9c755044f8 |
|
BLAKE2b-256 | 5c7c70e458eb4fb84651ef4a732d768b4e399f4cf372cb12fc1d9139a253b526 |
Hashes for batoid-0.7.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcc5ecc14c0e9dca9f6c7b2d25c6f1baa40c068976753e4e18f81cd538d64200 |
|
MD5 | 639e16484a5e70096fea599118e19b2e |
|
BLAKE2b-256 | 9841a2afb5a74d0669eaf3c8ff1e10c121d556d00a3ec8183a57c13e5e207bd9 |
Hashes for batoid-0.7.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38d0e9bb27c9ff1a4f347e52649aa8d96194c02e0877ea29505399890e738f32 |
|
MD5 | a428ffdd8cf688938f4e8ec52fbd5356 |
|
BLAKE2b-256 | 2e9c79e51a5afc1b1a811fda8a478c7f3d1ad5dde6fbf2038681332d49df3e98 |
Hashes for batoid-0.7.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d34d0f92a6939c4212c6d1c2216c33326df511052bf4075e81b8ecc46e24be1a |
|
MD5 | a365525e63b0b3cb6385ee211caa484f |
|
BLAKE2b-256 | dbe442ee59a098b4dd7f885887ca168800c0829056a45d32fa4ec752a487e290 |
Hashes for batoid-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c763d3e986ecef3c2c6f0125d7ced2729dae4c70b42004623ec824ec30075f00 |
|
MD5 | 9c8321f4c1837d1ca67353152bda864b |
|
BLAKE2b-256 | 25b755a2d32b196f9ff054393c0baa25c188ec615231548be853493cfc8546f9 |
Hashes for batoid-0.7.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f09860e6f879aaf0f3eeab41445637b283bb079b918f537d49424ca56a2fe2f6 |
|
MD5 | 99e1fec6592affde13d04144ec02a18b |
|
BLAKE2b-256 | 8e9875005044c1f01ee156e53fb31486339a2d1b734135f8168acff834e110b2 |
Hashes for batoid-0.7.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d63d3a83a32e893e6467ce4bb5a85a81bc5dedde1a3fb219d291265f69d8ae2 |
|
MD5 | a3c26f68a6da7cf7b5a14e5dd2387cbb |
|
BLAKE2b-256 | 7dc902142c5df1339915d891c5ff29de8336bf6b9a43218faeaf4a68db048b67 |
Hashes for batoid-0.7.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7670336b062622af22f4b9e5c83177464be45cc6fb9f30630420f84cab8c5f90 |
|
MD5 | 663d7e39fff4353a18940be69adbe9fd |
|
BLAKE2b-256 | 8633480a9b7b3e9b454afb4068de7e1e2f5319574336141a2d54c9288f68fe0a |
Hashes for batoid-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec41c0426853c0886d9f226ecde6f8eeade523d1a0014b40da6ee820ebb4fe0a |
|
MD5 | a971adc01955209990f31ae7759a03dd |
|
BLAKE2b-256 | d095353fa915e5c37389868a81e46a531e4b083d5906ce92e430e3dcfa489c9a |
Hashes for batoid-0.7.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e58344009e2e058d6ab30ced23d6ed9f7fbc1eb9cb20c98b74459738d7063c4 |
|
MD5 | 6db3ed96fc436b80220b06f24fedc58f |
|
BLAKE2b-256 | 40abb2de44d6865de7ec84670dd64c2242f2970a8c6a4562862f78c4ece44e0f |
Hashes for batoid-0.7.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a9b23c945afb4104eac8fa1aad15b5a1538d19cb9695a01e794944a5fce34ed |
|
MD5 | cd7806c28eb1f0bb26795f3b6a94dc4f |
|
BLAKE2b-256 | bff5880dd40f8e1621c966da999005739057e41154b6ddd8b8ec775610cb1d89 |
Hashes for batoid-0.7.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df118ada257e485d544116c2adf45aeadca98762bc8443344c9f282d8acb5917 |
|
MD5 | 4337d2283d1def405aa9cbd7ed456323 |
|
BLAKE2b-256 | 1c44b3ab3fcdc426f6cbdf54332fb00a597921b2ba4c338e82c3087b99f8ad77 |
Hashes for batoid-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 288875db4b723ae7ab8cc14a1f3d3ed2fc311a4bd0a39fc78f1ed47df80cb2d5 |
|
MD5 | 1d5b88740fb45cd97924ce5e290ed7b4 |
|
BLAKE2b-256 | 88e17f922fbf22456e048f224a80b147e2aa0f65b6e7d5e4a09bbbef3b890e11 |
Hashes for batoid-0.7.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9eb9f3aafdfb16decada4d9b1576387fce1b92e813f063bce57715786111d2e |
|
MD5 | 8fa6897e7b344a29571abe7524b7d940 |
|
BLAKE2b-256 | 6f37ba0c445daed3215adf5dab0f5f5406f8eb7fa166d548c45dea9a674b8d7f |
Hashes for batoid-0.7.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c5dc11daa16daf17f5e2bf44424b82011880be6451af03f1be1aaaf6cebedc |
|
MD5 | 4d84573e4bbbc0a2128903f4f9b73158 |
|
BLAKE2b-256 | f29f8ee4a1d0fb4c3650156b579206389fe97709e7e80a562b27798ee4f6075b |
Hashes for batoid-0.7.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33fdf90563d33d34f488c241a4f0e9c2d74639f82410e02f2dc837ccdf179f4b |
|
MD5 | cc7aa1ac3ad9510b4e5d44d393a1009c |
|
BLAKE2b-256 | 281a07f2d5eba10b2ab99526a2e6aaf32f1cba0ff671cab4702b6ca40040edb5 |
Hashes for batoid-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f21be172f04276d0f88e819c6754b54878dcb563294dfd8c31f6ff81e7f35f7c |
|
MD5 | ca1297ad3050ff95c144c9739519eb1e |
|
BLAKE2b-256 | 3a45bed68c0e6e3664a63386532eed254a347320f14bb28c65fa39a9ac028922 |
Hashes for batoid-0.7.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc672dfd0dd1e7ae9560b9f2159a81bd3da176d77bf9059d54ed25b63450089 |
|
MD5 | 0ff4e4e23a77cd99d2a53556e2cd7e8b |
|
BLAKE2b-256 | 4ae2d88112d79d72b6a6d07a1415b63b7bf37ea8bae86cfab1bf85a9c1579fa3 |
Hashes for batoid-0.7.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 087afe07d57a34d5eccf2f3c0a5dd7e515992e95e4e38451b731d9c9b2a34e51 |
|
MD5 | de4cddf4456e49773d1b24422f699ca6 |
|
BLAKE2b-256 | 3af90a2307a26a5d1b16ed67ae36ae4a424eb51745734590a83052a6995e9092 |