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.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2185bc66b3141d0ca81450932cb072c3e7b4ae9e2082d011d49e4fe4f2500d4f |
|
MD5 | 64d8a74b0631dab79634651e821b42b1 |
|
BLAKE2b-256 | f700133cd177d6d8a7baa757064807b6f23de1ec3f21cc1b8d85c3606d8bab81 |
Hashes for batoid-0.5.2-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a119efdd35876d79368f3582139eb1dd990e03d47ebfdaf4961af72f45d776d |
|
MD5 | e03f269b423120861d5424ab852c5a55 |
|
BLAKE2b-256 | 93a76ca6aed57db597682d3ced63142100ff939e8c7db136dea1428fb34c7fe7 |
Hashes for batoid-0.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 337fdf28a313342c53b536907495def25ff1b2cc15226787569f09d7dc8447a0 |
|
MD5 | 0d33dbb004a4903f8b6bdbce33cc8e6d |
|
BLAKE2b-256 | 09a414b47e631d84c077716bf32b21ac6660d18c6de8e159387dda366aa1d8e1 |
Hashes for batoid-0.5.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6f358603a4ad66c5969b7fa728c5a8ba74ca3ecc09364d4278222671d718fc1 |
|
MD5 | 0ce2fde76db6a7ee82aeb42a7c08a493 |
|
BLAKE2b-256 | dc5a75c59d133cb6204fd134d6a3a23c025639e2da21ea2966824eb70720324c |
Hashes for batoid-0.5.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ff336d631ba7f26ac622d63f13d175caf8ec8c2e29846debf77c32b81723afd |
|
MD5 | 995ed3a6e44e6d3dd63e24884819724b |
|
BLAKE2b-256 | c3d683c7ce41e8ef05a7003f3abf06779b5647dc7b2200da5163c2d8618e81ef |
Hashes for batoid-0.5.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da1afab425ee59e87c95828e84be75bcdd4c8a944497b7d985f189b25adbaeee |
|
MD5 | 0f187f1977bbff4cf2f2bd43e3427caa |
|
BLAKE2b-256 | 6a0793a63606091bc6e3d149448b39dfbf68cbb60ad9aed39848b09a79a9eaa2 |
Hashes for batoid-0.5.2-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d3fc842a2a63b65cefda8d616287047fed892481814de2ef34459f57e7f3ffe |
|
MD5 | ca53b006c9b2e347ade769adbdc92885 |
|
BLAKE2b-256 | 1059d38b2327d86bd6ebf91e5e4fc8d43853fba38b4e7fcd7c2b3fe3eb412844 |
Hashes for batoid-0.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb64098a646c9fe86ac9d199126488def9dc99934d257c3d0789fba5f157964 |
|
MD5 | fcc0286d4ba77ffd32ca4acab965b796 |
|
BLAKE2b-256 | f7cbe7638e3c6647372fe5f28cca72087c96b1973a0fb482233357437ff9e613 |
Hashes for batoid-0.5.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd45bef9924ecbf90dd31a9c84b763889245c5db1e9b4b7ad7b1139d2d149401 |
|
MD5 | b006d19e750e396ffb48ae66939a2a64 |
|
BLAKE2b-256 | 3a5623223a15a0a94bc91bac4f7825f431fac2ba8e6a0c8b3621fdfb598e8ef8 |
Hashes for batoid-0.5.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4f51d1c9d379304ce0d9a25c5f5de77029833f8120ff961b46780f7de7a649b |
|
MD5 | 41c19fcddae92aa8ac81b76f0ce5d97c |
|
BLAKE2b-256 | 0d5b7dc250d4928fcd222765bfa4a6053d0692e2a54034a90a6824dfdf934981 |
Hashes for batoid-0.5.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9adf5c56ddcbdc5d4f267556b32b1d035ecea955b14c807c8690121378c0253c |
|
MD5 | 38dfb00c68d4fff592ec5d2950e5aff4 |
|
BLAKE2b-256 | 1c03adbd3b3692ffdb116d6a0799be487d71cf58d3757fc1a583584e7e684353 |
Hashes for batoid-0.5.2-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ddc4ab86fb47e8d2ead852f1933e33eb129bb8eb50de4f1bb6c5b73932d54d |
|
MD5 | e39b322d7d109f04f94175ab75ec1b5e |
|
BLAKE2b-256 | 2353755ddd4d5adaa4189d97ebf5a71eef2e2c5ea9c9fd0bb900a218feddf007 |
Hashes for batoid-0.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637d832d2706daf049aaa721688c9c2ca902eac5affd45ea08b9bf913df8807a |
|
MD5 | 1561601e92f9cc7c59ca51b13dd5388b |
|
BLAKE2b-256 | 828bcd3663b888e3aa17fb8bcddca061c6df72ada868cc4eb9b8ae02c7caa255 |
Hashes for batoid-0.5.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0a4b84d3e4d0dfed81816e8c43899d3c4e393426c83ccd63a11fc809a29ccc |
|
MD5 | 35ff3141bca58d78275ee2bde2fcea79 |
|
BLAKE2b-256 | 6c92d14317084c248b7028d7f4daa97d01157797ee0444854b0bb96d0ace2cd0 |
Hashes for batoid-0.5.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9a57ccc618c3ed9495d8cd2566bf4055ad0413f564baf7548dfb6574f664daf |
|
MD5 | 08ce7e2d0cf140f63381fdf7d3c03506 |
|
BLAKE2b-256 | 03b784d80ae514e601c57f127f0d4d06333a54daa02ce28821783b3f7ceed346 |
Hashes for batoid-0.5.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b44b59933d4b29ba87c6171cae64730d7fd2180e252628b52b24a4b6b71f8a |
|
MD5 | 124393d472205526c3cdf3462f1eb676 |
|
BLAKE2b-256 | f632beee114bd9095ba7dbfc309c201502b5049a7fd004912ad89949864157db |
Hashes for batoid-0.5.2-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f16c9dea1b7b4b2043b2709aff39ab87cbd1d86520833604fb65aa7fe046187 |
|
MD5 | f7ecdcc3c68263f29db1936e9713abd0 |
|
BLAKE2b-256 | 902efe26e5d51f7a2866c5ff6b199bca603063138d97a8106110d45c82ef477e |
Hashes for batoid-0.5.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309fd525c6f8a378d6142280fe827eec2f4717a82d0a201a5fc67650c5d01bec |
|
MD5 | 6434540097f87d8aa562fdaff7615f73 |
|
BLAKE2b-256 | b04f79d038d1988d96fc5048d27e61510ca624823a6bc3a3ab9aa43c97e15ec2 |
Hashes for batoid-0.5.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8046c4a01ca8f3c7d221f435d102c163ac6b3d8902f22dbdf625735617153ddc |
|
MD5 | 0d4e5b97198fd65331877606f9d41132 |
|
BLAKE2b-256 | 2dbdc5ad8ebb3fcce851b3f3eed48ebca28dee18b7ffcbce12ae56721250b6b2 |
Hashes for batoid-0.5.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b67c759ab28bf4cb66256acce73f5215e8c556d176b0e4c976e7829040f07525 |
|
MD5 | 854aca5b1dc21db9b1b114bcbbdf30df |
|
BLAKE2b-256 | 658629d0fe1394fdf31840e273f7e5e2dcbc7b2d187d425979c6e993e241ce3d |