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.2-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a6d9359c58efaff35fb966023d949e59e6a32a675eb294c856d3762425d298f |
|
MD5 | 3d893e3cc4ec989b436539aa0720ee62 |
|
BLAKE2b-256 | cdd9033fa767644766158e3d308c84122051e553af06d29e26fe6d955459cb19 |
Hashes for batoid-0.6.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a50c50dc7d3e91580393f99275a31cb47f77e43886846ad0ab234c832f223cd |
|
MD5 | ae7f7871ec250911fb8bb9f53bf39864 |
|
BLAKE2b-256 | 14bafdf72d8d1d877dcbdae91d54e83bdecf1a69688e5a3a3d28f2d1321b932a |
Hashes for batoid-0.6.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a4d3e293e1e660d961d132f86199a8716a83eba7d8ce1de3f71ee411830043 |
|
MD5 | 29ef451965eed0d36a1513387a83fda6 |
|
BLAKE2b-256 | bde010080578ba3ff3d3cafc664b2efe2fa104521d5ec025204f64560962112c |
Hashes for batoid-0.6.2-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96081c5456576034096e4b47cad004d452b26e175644bcbd56d7612762dc067c |
|
MD5 | 692219947bb8cb1dee4a30430493cc75 |
|
BLAKE2b-256 | 1817feb88f5287d8f5002e1296840472621f2b7c92ae71d04378d8e8d85b359c |
Hashes for batoid-0.6.2-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247a392afe6913aae372188af3db0d6445b74d28f387b510cbdd6faabfc1ce4f |
|
MD5 | c2086ebcb4c131f42c9c6ef7913adcd3 |
|
BLAKE2b-256 | bed21a0801991d0403729abfa70044817bfd30e617306fdfc689b41840dfbeae |
Hashes for batoid-0.6.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 164ea841dd5df1dcceba26a3b312c9a606e421510a209a992b856fa8adc10ae6 |
|
MD5 | 461476840ebb3f5991972783a722eb4e |
|
BLAKE2b-256 | ec7cb284d2353821ad9a0d0143cc92ee6ac3c9db21f3b2bcf4325be89a4903b4 |
Hashes for batoid-0.6.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c03ed662485fc98bc95e7ab47b615f4d6cef20e3b5d8a58a8b5aaaaf2a64e5 |
|
MD5 | 9b29a01bf6245c97da546fca5ce32715 |
|
BLAKE2b-256 | a6c311b4b962698a58443e0766b0429334e0251b2335865cb009c74b17a1bc62 |
Hashes for batoid-0.6.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 397a6f864663b8ce939125b7d07a2e188a012a7667acc257d0643901a73bd053 |
|
MD5 | f37b810605fe68cbb3e263670ab0a206 |
|
BLAKE2b-256 | cbd13fb6450f5ffe9683ad6b70a750d7c48a7ac4541f63ea930bf7bfe07429db |
Hashes for batoid-0.6.2-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9eff27512d1c4454ba80250f7f325a6b01092d6f2490bea0a3eeb4d6105e71e4 |
|
MD5 | 97b2a35e32eaa63065a69cbe019b4936 |
|
BLAKE2b-256 | 5728cf781244dfa2dbc6397365fa2c22b4058eb6bbad6457f5075a64a518ca71 |
Hashes for batoid-0.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b646e0a98a72e88daa6b173b1dbfa20df5a524bf4770e29a39cef897c81cb3e4 |
|
MD5 | d5fc754067c9b0c46c6d88a72cbd580f |
|
BLAKE2b-256 | 3eafbbc8fd23075991f9712cd6e36e8d74674507cfe2d94d9fe6cdce86901f30 |
Hashes for batoid-0.6.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f4ee7f9053640df1934865eeec404ba7b0d8928ebba4835f49d8978ce85823 |
|
MD5 | cdcd92d1b01f663c6854b8cc044352f1 |
|
BLAKE2b-256 | 689ca79f5bbc41ae9f7d1ab2b13ac9d2ded4adc5b658117fe1384d680fe383fb |
Hashes for batoid-0.6.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ba9d50888d52e646a6d703b865cbf2d5ccbd733aef0a21b6e1dbb073d5e6527 |
|
MD5 | 3d5ae1b0a913c83f712abadb3b3bfc0f |
|
BLAKE2b-256 | ad17b1eb64c14c132e6a96c13c5102de29ec5a1b87e1cc375aec9aede754f036 |
Hashes for batoid-0.6.2-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9d6ac60edd9be2251723dec3c85b67b6ed87ad989e8625ae7eecd247c7807fe |
|
MD5 | d5f8465e023cb1e397c12202797f1330 |
|
BLAKE2b-256 | 1ef945a48c32eca66b715aa311a2e8d42905e14dc321336db3e6106417573320 |
Hashes for batoid-0.6.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4fa042269f30f2c87647c2c0fc2886ebce2210bf2ce93f0dda1f6063cdbd60d |
|
MD5 | 810070a5dbce0b9d647919c8e5982ee2 |
|
BLAKE2b-256 | 7c918f4ba0f6bd644750e5e39373704f92f6bbb81e8db2f96e72180e7abc9006 |
Hashes for batoid-0.6.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91e38f9c7e26139b3d4fcc04cef5300625e3db2c1afe26ad329eae54400b3987 |
|
MD5 | e44d195d4b17fcf99dc7449c9bdbaf83 |
|
BLAKE2b-256 | e6b6c7a1cc13e2d890b8e2191f3e5b439ffb70b6826b82b4632102405702a3d9 |
Hashes for batoid-0.6.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b6017ea2e3480ac3008fc54abc2b16939480c8cf6fb3fc12c92119a0b9f5925 |
|
MD5 | e05d688b2b18c738c9d08501aeb35fe3 |
|
BLAKE2b-256 | f812414c8eb4d8b3535e7b208c0b5f99c07faf40e7aa50a9c42f14d3a2710c2b |
Hashes for batoid-0.6.2-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416ad62d67219c7456645c56b2a928db24df312fa9e35f7823ec7b6e5e6b6c1f |
|
MD5 | 53589955c8790002de8a86a76c3815ff |
|
BLAKE2b-256 | 77074c7b02ad312b4791877219e75159922fa1a0f80c4af0a7834663f8c9d1c5 |
Hashes for batoid-0.6.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9198c2a07bd0ffa600859ae7a56d5e8051b24aa781a24b51eaa230c5349b16c2 |
|
MD5 | cdec572602ae91d0ecbad226b7c1c972 |
|
BLAKE2b-256 | 91b69ed673837b85eb29a3cc63c1c94ffea8ab26c8fd628af7cab34230bc798c |
Hashes for batoid-0.6.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53b8152e239d622bd118fcd57b2af8a4845f9de19b95992117cbf392d5c887f9 |
|
MD5 | fc72e2978a5c9f94056c595b27b8ba6d |
|
BLAKE2b-256 | 3b2ed4dd2e027807a43913a47b1262eeabf0216c3f63e8a22132aab70cff7886 |
Hashes for batoid-0.6.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2168d31d87e0a66f86070bfd1a8e49478082c258122ac92d1a157366935083c6 |
|
MD5 | 421609f5928c289c1ae3d2ab2a0d5f14 |
|
BLAKE2b-256 | 64aeadfbb51b35e17008768442ca39ef777b6a2584cb5313878e9cf3bb303846 |