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 source distributions. This means you will need at least c++14 compiler available and 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 ::
python setup.py install
or optionally ::
python setup.py install --user
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.6.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4beecc3798f06e523c3d8ca9e3588c5d31c7fa6f5da3af160b555adb1f2b3744 |
|
MD5 | cf52c5c99aae6ca15f920893af61f380 |
|
BLAKE2b-256 | b46f4039acd3e9a827064417eb4a595e7e4a166adcca45ce5e6c6bf75cd9bc0f |
Hashes for batoid-0.6.0-cp312-cp312-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd0bccc074ec86a282613d1811e1022d5f369f1a4b04d9663de019ac82d70b3 |
|
MD5 | d971f2f179cdb02a32dffc4863a5d444 |
|
BLAKE2b-256 | dea8ef70424a230bd3203eb0a2b6f3cedbb6fc268b3380f4a4b8119e4bc82751 |
Hashes for batoid-0.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ae6ac8e9d2c259bb362b6e6e0f7f693b7eda16574f5f1de07cc47d479ae1554 |
|
MD5 | eb13f3701c6d91c97666586fa241049a |
|
BLAKE2b-256 | 64fda8b355e7512ded2ed1e589f9413dbb51acdd2f7c6cc8f4efa66cfef984d6 |
Hashes for batoid-0.6.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 481c5140c0bb5158d7eb412253c7ad02024fa790054d34cabd2b87c2b64bfea3 |
|
MD5 | 9e9cd8df7d53929a15a4d7265c4ae58d |
|
BLAKE2b-256 | d378030f9cc903d5be2059a2ba06eceddb6a78143e3a6016d40cfb7f77948a4e |
Hashes for batoid-0.6.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ee583b4a9f575474c0f1ef53f7dbc38fe3e46a4ef516d8f5e1517e4968a8ac |
|
MD5 | 67c842acdf0eeecc52be20d3b8066113 |
|
BLAKE2b-256 | c07bfcc27662f3faf435b743e9ad663a2ca4f3af1b152ef67eee3e991f62f023 |
Hashes for batoid-0.6.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5773960107e2a7ea324b7151c79ce9b77fd7ad6fcc10cac0028d3cd600b931d1 |
|
MD5 | 38fd493a230c308288dee6405682cf0e |
|
BLAKE2b-256 | a5431d72a1cbd1e63b1a2fa8f50d8a19099354916825203ed8fa232574aa58f9 |
Hashes for batoid-0.6.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e51941e32b7ffa08aa279e99648af7f50ce71fdd49e59fd3f88458ef5749a674 |
|
MD5 | 84663ea2b77b9c27d6ce0d67e540123f |
|
BLAKE2b-256 | 241c0a0e89416687a079601cb614994ddef2328e3ad8eac8452204ed8de6651c |
Hashes for batoid-0.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f954661906d7b82abe7dac1b51fc8d2e449fde3f2d1668c06437db124f9d380 |
|
MD5 | f2e97e80430c4bffe572129f0399eab4 |
|
BLAKE2b-256 | 491910a8b2a1fbcc55eba15c6e3c97613601bfa8ea3273659a2211ae9104054b |
Hashes for batoid-0.6.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48eeb80d7f81436e6d0f11cd6a7849a87088149cf9ac20019644af7c1c57dddf |
|
MD5 | b7a0f7aa712259e8e54020d9f67f8f0f |
|
BLAKE2b-256 | 25a0ed4832b76089d6eab2554144fd1aa459834cac91b2d01a95d5b511edbdc2 |
Hashes for batoid-0.6.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c55a7229ece4cffb6dcb700a36437772332a1cc67222e2bdfd33539b6b306bd7 |
|
MD5 | fd04c0815c0e512d124d8769b4610bb6 |
|
BLAKE2b-256 | 33d37a6b355a97c4b7d7e85914298bb422a162b6d1653a47e146b15cf5c93a57 |
Hashes for batoid-0.6.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c1bc2caadf1042e2c60b110d8a3b8fb06f19b4236cbdf20dc63082ab65d28c2 |
|
MD5 | a83fe819a80201b98a2f63b1655ddaf1 |
|
BLAKE2b-256 | ed7eee1081fa7a00327bf998f8011e2c0e3dd6d553914f4d709cad6d3ea7020d |
Hashes for batoid-0.6.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 664ba682fa21a67da7f28a91606eb2001840621f0b2a363f616115862e6c96cc |
|
MD5 | b8f5f622174bc8830bb986fc7dc37212 |
|
BLAKE2b-256 | dfeaffe0c72d0d0c25ec6dd2298da6cc7d0dc4f850f03af82f8b9bc73fe382d6 |
Hashes for batoid-0.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd2301b9e8cc2ca755083733ab7c4c1303f5e11e7ece45835d8015883d33b31 |
|
MD5 | a3ae04a922aed9633ed8dcc8215c8e90 |
|
BLAKE2b-256 | dd9408887c4839c3c4c5fc6e7e39572cda24ab0d74964f2916a5c7585c7593aa |
Hashes for batoid-0.6.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ef033fbd0f4ae7becd40c13fae84c0f2bec3aabb43745a45da35873ddbf71bd |
|
MD5 | 8e77052553841287ee52eb3be6d5ba03 |
|
BLAKE2b-256 | 672468e556f389aa74d0fe8772cae40beee21d09c3a51bab3655515a3d281311 |
Hashes for batoid-0.6.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7395752a357e963d0e5eccb8f7ae0b9e1a6e078abf32f9dc3d85202b7391eceb |
|
MD5 | c2a8675ca33ac9867eb7d90c6a605638 |
|
BLAKE2b-256 | acc19dd7981efeba33c1da81b488452287e3163f849eac572865e354efb309e3 |
Hashes for batoid-0.6.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0383e9d6381d59b5afab873c6662d60666930ac3768ed25e7f685693a65ee570 |
|
MD5 | d9f1f3ad7a9db35c4a32074d68301238 |
|
BLAKE2b-256 | 652c646c0e173459069bb6e4608f2f48d04b4518bbb980292a899052cd1030e0 |
Hashes for batoid-0.6.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad42621e630a543b8effe0fc7c4e5a0bc8c9abfd1a1756c54106cc12e48d375e |
|
MD5 | 0d4965e544c61eb7d8df9f6de974f1d5 |
|
BLAKE2b-256 | 6925ab0e02eeeca493ce0833301d25a7ea5ee72d2b26323ec9f10c8f3c20097f |
Hashes for batoid-0.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98a0da78a46d7e8946f18cd8b8ee4ce1e3034c91ac085b1699b117c2fb8b65b4 |
|
MD5 | 7375103ab6a1ef14d1f4f210d281f020 |
|
BLAKE2b-256 | 44b17b25c605b7e0f99a235c48727dd76464f3ce4f02c38be4848ff36928b270 |
Hashes for batoid-0.6.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1829631645c207389b6f32db5ec81bf75b549a6b10dea15edc899e47d1f0184 |
|
MD5 | da24609da291b8f40bed00a559ae698a |
|
BLAKE2b-256 | 2a81a64b78c8288313ff761f26e2d0fcbeb70660b1551416fd819903528d7e7c |
Hashes for batoid-0.6.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b909c263726bd0f1f24fb124414733cd26807eb4fa3195494123f4b7bd410368 |
|
MD5 | 4edfc0652a161e6a829605fcb6e8dc29 |
|
BLAKE2b-256 | c3ddff9baf78df814b96a302eaec18480370b7840061fda8951f881201554954 |
Hashes for batoid-0.6.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ccba4dde5115f9c779862b78272d9122c936a59bd5199f4be2fbb3ef36ebc6c |
|
MD5 | 60ef4bf4a08d51ffe299bbf5f8bc1eb2 |
|
BLAKE2b-256 | 1e6b852859ab0f0e9cabf5126e2ba74c90e61476d4a5c0e9aa6718e1645df500 |
Hashes for batoid-0.6.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4c4469d9df6373a2fbe407dcc6f85049261c4013d5f67f46300409d314f972b |
|
MD5 | 9e48ab4e89aee919b95c3b36225de35a |
|
BLAKE2b-256 | 50895b0bd0627abf99b5c3a12bc437e90396df24e6a5a6ba3bbb27e943a14957 |
Hashes for batoid-0.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cf736fcccffd9b479f8ddf50896b4f1edc7b3b57847a07d4c10a34518795f18 |
|
MD5 | 63bb9b3fa8c48b850af9109efeb22b60 |
|
BLAKE2b-256 | 111347bb6bd9b0f6e1c7301fd776ed80cf9d1a9c225df4ed930431e0ec3c0597 |
Hashes for batoid-0.6.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03b50e97f6e6f861affb3d4a8f3db7aa49f822cdd303064d1ac42612c4219b2e |
|
MD5 | ae4a30b31a383f6fe120cc7a1d665a83 |
|
BLAKE2b-256 | beb465e0fe4d7add2913736e5855a7e2d24ca1dd8fcb3483c31f730e4a314061 |
Hashes for batoid-0.6.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e295406e14e4c76437d261ca6492956de3895c4bf7e33a1e933479bafb3cb055 |
|
MD5 | b52ce06eb37c84e41187f32f9685deb6 |
|
BLAKE2b-256 | 3c1e662eccf5919300b145cf110d137f6a3eeca45d086c64bc3a817a7e4313d2 |