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.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d77a9f32b82ad3403f46911dc8a75d6a6e131bda0052dcb482cadf5dfc18c817 |
|
MD5 | e9ef983d80a78f4fa0b975da875f81dd |
|
BLAKE2b-256 | 1306f64ea32489f49f592ef63d8c4741b9d3b2291a7e8b245c362b3fcd4d85fa |
Hashes for batoid-0.4.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1145493bfcf0703682482093f422cfccaae8396ddeb6a1793dcfd635ce2a5242 |
|
MD5 | b541acbd3c6066204348b9b8e56577ac |
|
BLAKE2b-256 | 72c2ce448112a514d03b3e00d7abea79bbcddcda8614ef82697fbe14ee6e0acf |
Hashes for batoid-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bbdc4d0c1ed9690ee1dce77078fecc66eba43e5ce4b083f4ee1c022ffe47d4f |
|
MD5 | 416e00c558b19beed6077f49664eba58 |
|
BLAKE2b-256 | 3a4c0984fda2e15252ff6b7b6ced7e3e14fe7e1424d399d9af6910ead1b0da8f |
Hashes for batoid-0.4.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a15faeef9b2d79c196723732abc4035891ce512c5321783b0649e2efecbfdeb |
|
MD5 | c92d6489918ddeede5a945d866c38c17 |
|
BLAKE2b-256 | 75544436edd4bcb5577394a120e9d3eccc8b63e0806a27c6e68a6d08dc870784 |
Hashes for batoid-0.4.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ccacd7e3e3557da76aa2c2fdbaa2af67329096bd12dbc3fa46a33b26ada2575 |
|
MD5 | 4584ec3a4b4de0f538603a7374aa98ae |
|
BLAKE2b-256 | 0bc866bef2b9c1272bbd4eee7bd0115ec8d26269835835281758a1819aa49908 |
Hashes for batoid-0.4.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90dc7b924f855a404190d741c54f7d53cb58cd1b6191d89c16b34a0c468266f3 |
|
MD5 | 66506ac75f09a01375adab948563cd24 |
|
BLAKE2b-256 | c20c81b0df9912e00e351d58cd5ed71b778557c33c33a8a1535bac4f7b84f0fb |
Hashes for batoid-0.4.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42fcb467618d9e12039f3eea22b311cb15b60e10ff1bf6c7fd266597efe42498 |
|
MD5 | a8e413689014b325d4df6c8723072179 |
|
BLAKE2b-256 | 1ed83b909fb773fae618d746eb0c65dcef043c93097ab168baa8cb2290ee7925 |
Hashes for batoid-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b3ed26db62f5b5755aa20184b97d9224e88eb64ef6a7308a25e629d3cf6652 |
|
MD5 | 81cb7de881107129a2ef39a98e231085 |
|
BLAKE2b-256 | 44e7972c78592b3b639e4ec45d0fcc97d32bbdccff2d73dbf71191491697c46b |
Hashes for batoid-0.4.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a913de4676b1cc5ab3d42e8233d2c66fa7a6dea01cccb12ab5230729bdc1318 |
|
MD5 | 4ebaf6cbba7fe7c3fc1bfdcc7406a32a |
|
BLAKE2b-256 | 621392175a247a4f736c34b100d3d50dd573e4376d9968907b350a145cb2f170 |
Hashes for batoid-0.4.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb6be5864dfa81322bd750792ad0fcbfdfc9bc93e51d8f3ee1197389c82fec1 |
|
MD5 | 2af660055c154c391987fad69e5f25e7 |
|
BLAKE2b-256 | 2d12059a4dfd4758e6ae542ca70d78fc356e8f48bff0b9c533806abdd687bfed |
Hashes for batoid-0.4.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f11093bde5c7c5dec8258df559bfa93b168cae7948972988c2c74ac0b8af3eb9 |
|
MD5 | 82803f35025bd20c60f8aedd484641f3 |
|
BLAKE2b-256 | 47f96c57ec469eedd40f788daddcf00c37d2b55ab954a397abddfb76510c5f5b |
Hashes for batoid-0.4.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7bddafe9904bf5a9aff03a40645ffcb0e52650c4d419dba2fff61347924edda |
|
MD5 | b3fed1d7dd04109a8f2c60b41dfb4c7e |
|
BLAKE2b-256 | b25a7a594aa24a8cd1f332484ad89f30ad8f431617a47edd70de7f8b64413790 |
Hashes for batoid-0.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49035a10bddaeea49146cc16d9ff943c4c5d42f98db78289fbbe7b8dce5bd812 |
|
MD5 | 716df85fa48b78a78664e96162f25b29 |
|
BLAKE2b-256 | 3b9023c1dd607160c804e977e717c769c729365c0249c723cf855de0df4c270e |
Hashes for batoid-0.4.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fd2beb36752068e8d0fb06b2a60c17f8884c38c191b5942aac3d52685333b42 |
|
MD5 | 1aa822cba396500043cbf5c0d38f5278 |
|
BLAKE2b-256 | c5c783f0ba73380cacab30d738ed2677d15134c7dd6cdd6b5186bb120743d116 |
Hashes for batoid-0.4.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc63103e630153c070b2ebc16147db215011e3c257cb47de0a323a58f08edc8a |
|
MD5 | 775255d9c4026507fd87f2ae6fefc39f |
|
BLAKE2b-256 | 56188728310f8ca7f00cc689019b78908593b43d1995ed4fa25612b6eba7bcd5 |
Hashes for batoid-0.4.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f742d8aeb80b18c6f410fa1117b52dcd0041baf25240bf9971782aec08829e2 |
|
MD5 | acaea2643313b4fed79203a9f0fdb359 |
|
BLAKE2b-256 | 6c594434688001032622b2cd859aa4da60be638d53276d56f16411393e200cf1 |
Hashes for batoid-0.4.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 535c7e1beb13aa5e2a2b836589e488bbb0fd136cd1b83c42522484e13804ff5f |
|
MD5 | 139552877cf3c0d4b9ca8c8f6265b155 |
|
BLAKE2b-256 | 555afcd24f7b961ebe8ff3e17db37a6e6e8c331336bcdc5a1cad8a6e45e01e63 |
Hashes for batoid-0.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 192b4ba4e0fd1f994bae70e6398f59e73581fa88264bffd92e5013c0d92dbbc3 |
|
MD5 | ff3a66d6207737620039cd5d163a9c71 |
|
BLAKE2b-256 | d4afcda64e08ab11f748676c5725d923c901cd97477bce0d4b7558ddc2f99a93 |
Hashes for batoid-0.4.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e3cc596422177e794969df4078f515778c5a34a63ee94d2774e7d87cda6ae3d |
|
MD5 | fdb09c7340eef9eb3a0c398771b9287e |
|
BLAKE2b-256 | e3117651cd755e3f76480a4b5fedda57e1642c97978c5fa8bcc1f104c9a36707 |
Hashes for batoid-0.4.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a841a3270a4a3642e9b819f68b0ccc2913c55505ffaf3d7e3ba14dd322e74f1a |
|
MD5 | 2a0447b80e42585e201118c7ed305f28 |
|
BLAKE2b-256 | a3e2a83cd8ce9af6c70db4848e34b0c907c5bad6413ae7812b80d8d038151972 |
Hashes for batoid-0.4.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ea91334ac2d88d25e8a5fe1a3a6a0d711bd14f25bcbb4730d62bf433c204e0e |
|
MD5 | 9d2821066b2ea48f6b3ba3553aa83fdd |
|
BLAKE2b-256 | 5fc5151fc110951fc161f24e993fb28c622118f09b31dafe9fea202af2ca7047 |
Hashes for batoid-0.4.0-cp37-cp37m-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cb8c14cf3f257dc1f05a96eb44004bfbf501dc70b93e9d003ff6dfda82a40ad |
|
MD5 | f40555ba80e7bd4c51010bb44a809633 |
|
BLAKE2b-256 | 44911634086ee19fb839797e008f73e52d7c2b300f6f62662ce96f8daad1fdb0 |
Hashes for batoid-0.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c71cc4be978925393a6c209bc70dd6a7294bb13f46656c37a8f4982d463d522 |
|
MD5 | 19008270e04e6cff4654552773a29914 |
|
BLAKE2b-256 | d4d05b3471d0bef409de972b1b432be5a10a0519efa0b99a6f562f9ad6c9008b |
Hashes for batoid-0.4.0-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e97e6c3620d6b7d3df7b9c5836fdd07834c70af3f19b53879ba0f4dad9edaa2 |
|
MD5 | fbf1c044a50e4baf1c87f9073797e2e8 |
|
BLAKE2b-256 | cb08413a59283755e4d716d6222e95273b72f7458067d069fab38cd6a0db6438 |
Hashes for batoid-0.4.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9c44c96a911d4b3d775123310ea2cf966d957b690c513e68372e6e25bdcc14b |
|
MD5 | 086ebda9f94dd1b8a994c1a5f25e0a8d |
|
BLAKE2b-256 | c48ed5892b2d2a0a44b161e360063ec78edcf4c27463810db2af7318ba304fc4 |