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.5.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8809dc4c6a92809a3a2612078f4b757e2272aff261eb25915fa9d357daabf57 |
|
MD5 | 8cdc844541fa42dcf89c7ff8420101bb |
|
BLAKE2b-256 | 5e2b3ead2cfd3629f0d9057c14ff2c51fac93224ee799877478be23be4a9ca95 |
Hashes for batoid-0.5.1-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25777c8d888f3924ce4f1a11beec7b99a71959814f8f667beb28cb8b536056da |
|
MD5 | 23f118b0094736aebf49b30fd91e53a5 |
|
BLAKE2b-256 | 16e3b5b763d0bb67fd4aeeb1bf9f6d94ece431e6113762c671a21ba067e622ac |
Hashes for batoid-0.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c4dab2f73daef5ab2a75a53227d4eee04a630a5b7a86b53b4eccc0c54e09eae |
|
MD5 | e270f531628e6fb45a293b2d95a01382 |
|
BLAKE2b-256 | 6b2729bb5dd60c851ddc9f47dbf42ca0549bc36ea7caa364b5a360ffe86e54d8 |
Hashes for batoid-0.5.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26bc4e46b0e6f7dca308dd11c13cc6ed0521325ec806923c24614d762106f471 |
|
MD5 | b1fdb09b259baa5102cfc60360c2bb2a |
|
BLAKE2b-256 | 07799eb55a17cddad3260716b992b6a2540fa6b8499d319953a07a5aa3b34f68 |
Hashes for batoid-0.5.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aecc591d9ab27e98eb7007ca502bfb8e298fa226d654057c88d56d1d3fb2f03 |
|
MD5 | f6e7767425e213d6905fc8b8958b7eae |
|
BLAKE2b-256 | 2fce61622faa4a44080fd93ecc034d84ac8b0038acb0475bc3463b076499d0e3 |
Hashes for batoid-0.5.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4df7cc2736c328ccdcef4705e2faa3cde3f701c1b0e12a61949f43b163d98956 |
|
MD5 | 909db4450d9119c9f41e4b9ca10d2321 |
|
BLAKE2b-256 | 26fb23d3a4599e7ef51a8be9bdb0a3249b8416e93b734ed5dc92055330d0f2db |
Hashes for batoid-0.5.1-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cc55c61fe1c5091e7a6d17711a1a06ba4c2dadb2dc562aa09c4e2aee7716424 |
|
MD5 | 8294d57373d42b1f4c7d71cc8f53ab15 |
|
BLAKE2b-256 | 8d13033d8759a23b16dd1bea11c8b5c9b100058e078918727f91f2511836bc35 |
Hashes for batoid-0.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb357c4be68cf07ad1773bb7f7dbfcab251425356e865a7e84cb4392e3dceb52 |
|
MD5 | 567396897d685eb3312bdf64c4dbc111 |
|
BLAKE2b-256 | be36694ac6ac901b9213891946be7cc0502cd4ca55155c5e958801a40c256588 |
Hashes for batoid-0.5.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed5b270e854b07e1dde5b891d3989920a03d582afeecceb7260b494bb7e66025 |
|
MD5 | b9a64da374e432c9127882080886b122 |
|
BLAKE2b-256 | 260b6334c4f17744f9757c9cea5f066cb8796a9fd0b592c831caa3533c4f21e1 |
Hashes for batoid-0.5.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38b2607c07dec6b9c04e88f5e291caeff06638f79f43a4b713d99736d0bf6fe8 |
|
MD5 | 889a034ff4332f742262cc7330dd061f |
|
BLAKE2b-256 | 1e617840a8a28b96ebcb8a38c4c3f0db4eaae84d89839f444a62d9de4816bd20 |
Hashes for batoid-0.5.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1a94c3611e53a15518f5e31218f5a11bb4667b3c465699432f993c1950def80 |
|
MD5 | 498330d6a2435dc9c104786b781161e6 |
|
BLAKE2b-256 | 296fb6f0ba932a941e471c5e8740d14fa14fd61ac3c63af66cb22ddf879be4c9 |
Hashes for batoid-0.5.1-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e70f7040b4bfb0812ae2d09a4a94ffeeea6e14c334285c2eb96e1ce03b33d68d |
|
MD5 | fa750433668edcb311ea413c63742c7e |
|
BLAKE2b-256 | 187082bf068de5635bfcddddc1b0fea3c1473e36b9b1f914ff1c5194ef39e04c |
Hashes for batoid-0.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b38b4e7f2aac6ce902f863632a974674df02787140938892d5dca3fc41d7d333 |
|
MD5 | 12003537b743d2939996dbf3c92c2b3a |
|
BLAKE2b-256 | cad8caacf870146f500ad1396afc2ebeb1d449fa0c0c33318e2a7366be580e5a |
Hashes for batoid-0.5.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d27fd928c743aa9b14d43dd413e13b8c93097975ad7e46470a279064da416cd |
|
MD5 | fe7c2b829684870f8b8d663b2767ab86 |
|
BLAKE2b-256 | 33fb0f2d81e7c268258844f00b3e842c186b64d99ad6506232420e75044bbb1e |
Hashes for batoid-0.5.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbc23f2cc7443f8e7503954156308891a2bad5acd9ec51dd33d90fc15ea5537 |
|
MD5 | 6198c3697661f6be5d890a69842fb41c |
|
BLAKE2b-256 | fbeb93a1631a143aca53d7ba80a28c69f9787088a141b91c3d519500d5744f53 |
Hashes for batoid-0.5.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66b1e6edd5474aebb6d71ffc8d1b253059f76e3e5dee19c4c923ef847ed7fd84 |
|
MD5 | 0c1ab6fafa652be76517275332f31c20 |
|
BLAKE2b-256 | c69d42c56f661c17e423cc37dbca4b7461aa4c0b2a7900c5c985550510892660 |
Hashes for batoid-0.5.1-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d70735d5f46c1d3a8d327eb6ba0f4cecb8046fcacaddc1589691e2fdd83dbc |
|
MD5 | 01bcb7fa55b2983a6162cf6fa694241a |
|
BLAKE2b-256 | 256a3d65591752ec21ee2b00d8ef31bd06675a96833b4c6d7aaf357998963ceb |
Hashes for batoid-0.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a609ee770d3a95edbb98ffab73e2d47998fe4d7129722c0e89b6df730b99854 |
|
MD5 | d5bd32ef16ba11583537b4cce71b5e8d |
|
BLAKE2b-256 | 594b69b2b7e4cecf1b0ae24150f2cc390911e4e08799026fd7e20d5b98c5a9db |
Hashes for batoid-0.5.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2782131a9ba5e0baab682179574467943e0578a9deb50236498a916d652584f |
|
MD5 | 5f3dda59ccdd22840114416b8bd5dbf3 |
|
BLAKE2b-256 | 2c2e54270790a34a1983e2fa1bed9328405018d46f822fdb2eba7af8f6d71d3a |
Hashes for batoid-0.5.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0cc1a1042c2e00591565130410addade006e1a2a186bbf172fc20c447e41e2c |
|
MD5 | 83b7437ec77a3d0006a3dccbc69399bc |
|
BLAKE2b-256 | 22760acfc6fc43907dd2b7daf2dc8deb0d1b29c6e7235d0267fc860ecf50073f |