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.7+, 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.4.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 528ed5301a3963bb04d6aff07a33d56253c28647030b0cd24239b09014833be7 |
|
MD5 | 059d671c7860bc6c44acf9e665ca5842 |
|
BLAKE2b-256 | 2e216d8f4dc657cafdda94ec4b67518ad2a2a1114153589ee7f5cdce3152715c |
Hashes for batoid-0.4.2-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8503d233ecf268846883e3cf9974c03114263410d8f7b0e8f43488282536e7b |
|
MD5 | 743bcab4563a308d55a6eee4586a33bf |
|
BLAKE2b-256 | 3396fc5ee6305a9427b3ab225515b0df813d2bd40abd8dca4521cf8093191780 |
Hashes for batoid-0.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc70ab23c14395384e0b2d0d6ef4d639cdd7af06e4fb5c713da106b57d112787 |
|
MD5 | d0969110463876707625003b9e02ec4d |
|
BLAKE2b-256 | ea2f00f200d559ea19526dc31b047e655d388a4777c12888ef95a894dc4c74f4 |
Hashes for batoid-0.4.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17c110eed717ba0655c817a23affa57442587933ef0cc729ccd94751d52bc980 |
|
MD5 | 7913c285d0d7c2284f531dfc78e9f74c |
|
BLAKE2b-256 | 92b7c5d115a1ed4ec02de70233f33ef7c3ea15a379f5c4d4ffacafe8151d6bdc |
Hashes for batoid-0.4.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23fccb817526d3dbc3be5b6e9d3d1f86337416b411341907556dfaeb6b4fd64c |
|
MD5 | b59282ccc8ff3b73c2a44dca10982698 |
|
BLAKE2b-256 | c043c994e299d459c2f60c8bc8d7fa948e26a8d5db70a1b5633ef6a90ff93d02 |
Hashes for batoid-0.4.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e8434c32d921b7aa3fedf377c04410f5be632a3949ce07f152e3ae1b093939 |
|
MD5 | 182ef09c9587d1241c9853572a21779f |
|
BLAKE2b-256 | fcb18750623dbbb7fdf944660d3db436be1842a10e0afbd97f333c23f5c2d00e |
Hashes for batoid-0.4.2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b29b6a747644dc13224ab8549b32c6b45c4acbea2f97ea7c4ee316c1504bd448 |
|
MD5 | 5d9ef50e2f747be9398c7da8757d4b19 |
|
BLAKE2b-256 | c6c16a81b5dee0f8d06ce4194b24b9bd5ab3cc51df04f17fbe4073c71780eec3 |
Hashes for batoid-0.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a975c453ded49cc0e434b0b8b93afc0f7b87bc780a0660cc017a413f530e9597 |
|
MD5 | 27e8721287894b898895d143f27b69e8 |
|
BLAKE2b-256 | 7f5d93911cd3d867a29f3443d36b8a8044caaa33af4e7a9955cec3952782f4aa |
Hashes for batoid-0.4.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fcb1e73bc070e66dbef69f7c90822082e32c4cc0666ecdbcdb65c287c6e7d28 |
|
MD5 | bcb100150658717c7290e0ea9b86f637 |
|
BLAKE2b-256 | a7f8ea8b8446b01e1495f58b8e5efdf00afd47bb311df6e2d48591a852caaa1b |
Hashes for batoid-0.4.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95df676694380f3913080fbf27936d01d91938277964d5428eef1729b0f94a5 |
|
MD5 | 3c3c2a2fd8bc84d7d4065dd1e11120bc |
|
BLAKE2b-256 | b0be3163a0c4fc4cee61e7bd4926e8d60fbbdf2acec03c50b4dbb21f243cf336 |
Hashes for batoid-0.4.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2ae9fc886cc77b1eba3f778e461a4c8ea1f069a3e25110d2aec6eb95233f817 |
|
MD5 | 4ea3bf2ff7b3187b8be2b06fcb16a3bc |
|
BLAKE2b-256 | c272bc2b6a1c351d514e99dce1c2df3e3467af7a7a2979d3dcd449b360f6b901 |
Hashes for batoid-0.4.2-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a37aaa437e8c79f2900b0609689e2bc081cb961040d4c5246336f46101e87ae |
|
MD5 | bc2f2b69c296358d1191210d1f41ed5b |
|
BLAKE2b-256 | e0ff13cb17add22c20796f2d88091ed8a0ddfa26045c2ad1726d2c5a7d237d98 |
Hashes for batoid-0.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73d7d528895d0363e2a556648c77064d71e7f26ee96db83fdc8036487950ee25 |
|
MD5 | 88d9082eb6f09622088487a5d0aca8a5 |
|
BLAKE2b-256 | afd98e83ca557159b2c6db692e65d752fbed0766894027567bea45a6ea68d9dd |
Hashes for batoid-0.4.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56687a70bc77e9dfe662ccf9e76fd17dab942b51afb4c93084ce977e16b65461 |
|
MD5 | e717460ce15a8ee1e6bb4645d16fa0c8 |
|
BLAKE2b-256 | 2cbce91ee5d2e0baf1a4d9969aa3ded8e964bc707ef22532ac4c4a77f92c7913 |
Hashes for batoid-0.4.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 514707ef5d407d886fca3cc0c0c2830dbcfd5d8286abcefccd70ef17c17ffa9b |
|
MD5 | b78415ff73d13965bb9f579bad00c911 |
|
BLAKE2b-256 | 62b0a7ca370bfae3c86749453e67aefb9485358d23c14a0c51269bcd3c4e8a78 |
Hashes for batoid-0.4.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c1a9bf34bdb05fcbc0018d52aa4e1a01a962593772c4251468668bcbf53b718 |
|
MD5 | 49bd95c5d8f795fa66859242af94fca9 |
|
BLAKE2b-256 | c150739df664b881027d2b921b3ef812e27c00ff9ee468f3988ec85561a40c38 |
Hashes for batoid-0.4.2-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 258e4abe84d79d6ed99ae4099ebdb3b5e88aabc159f59585b8cd79b96730e094 |
|
MD5 | cf64be0ef3582c746b9e3bee400370e8 |
|
BLAKE2b-256 | c7923bc7a6c604cd066987f774c0e87e8e83c79d3cb0c6832c16e73c87859174 |
Hashes for batoid-0.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ec7ba34b94be0fe40e8fd001af496b3d46e07649f2813a8b08b3ac3aad3c50 |
|
MD5 | 6d741da0d1a4b5e39d45f186f6719c48 |
|
BLAKE2b-256 | 7bddb8b9e75b069d339cb9093a4b09ae0230f65b25f001496f45b18b7cf618c8 |
Hashes for batoid-0.4.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e752ba82e0193f00e37c3be7567a9af9d933937e775833ba58b9884aa7c79e9 |
|
MD5 | 73fca7be67fd87a9abbfe66c9a3665be |
|
BLAKE2b-256 | fde09d575b7dff9d6e823319aee96fdebc612ab9e5d14b53005fc4cb16ad88af |
Hashes for batoid-0.4.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 789ea01f865b4afc6ffeb5e38ff1806c39e9494d7e759d4d95eb300ba6d0e13e |
|
MD5 | c4124b281b1e2575f384654054e83eef |
|
BLAKE2b-256 | 55fa8ccee25e605eabcbed450d508f9793eeacebe258e43d970cb2c19bc2b62f |
Hashes for batoid-0.4.2-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09f4cba921045639f64ff04cd5962b574484c5a1b46ea1b07e719d7f643cd900 |
|
MD5 | f039d980985e247d31b18daa52a6d270 |
|
BLAKE2b-256 | 5026d9f74bd0b465f9c7b4c4494b1c52e2bf205a3c4bc752f3f9e30fbb833900 |
Hashes for batoid-0.4.2-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d8d4c32e7ea93c5c96e274841f2ed1262b6f428c627b994c6a062469f0fc96 |
|
MD5 | 6731b7a29545a29a2358b51eafb25006 |
|
BLAKE2b-256 | 29605a7b143747259487118a924380ee78adda6e6d57f239315b04173c04bdad |
Hashes for batoid-0.4.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d35740ad7d21b84d457d41547b5c9d45823117227b04f4901e72f7adfc8406f3 |
|
MD5 | daf20673987345474a9a19d735118cf5 |
|
BLAKE2b-256 | ea6ff5ac8a0bad53da47931c49daca983cc01b9672d3d81f79fc70fe70c13abe |
Hashes for batoid-0.4.2-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edbe920822691d4fef64dd432f5cb721f33ef1ce4b38f6e032ad398aaae6b1cd |
|
MD5 | c28df435dfb8db1ca4f43163ebdfff62 |
|
BLAKE2b-256 | 4e06dc307a8c6a6ae46eec46635d59ebeb82d87e35bb3d4b079596df602002a4 |
Hashes for batoid-0.4.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5d3c3ebc11b6cfec226e7bcb0360d1bae703e111e1e6603346de255a371a5eb |
|
MD5 | 33fb8baa6a2ddb48ae1428ae844a06bc |
|
BLAKE2b-256 | 4b0d12af6b2142b3b94087891a4bfe54066febc0dc94fe9822b4af7f2a568a0c |