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.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5178cf4c5ff5acae5f968e755eb8c0f0e0ec5ae8e842c7a283e445a74b2ef77 |
|
MD5 | 6ab02ff160bd6438935b22d1032d3b90 |
|
BLAKE2b-256 | f226bf77843e1ee6e73cfc0fbb7bfb54c3ad995c88e245f13296f31d9e10eaab |
Hashes for batoid-0.5.0-cp311-cp311-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5908d7e3adbf0e822838d8d1fe632096b881a479d8c356fc2d79992b2f7f161e |
|
MD5 | 422f5ac33d761e44808980bd9afa2d9c |
|
BLAKE2b-256 | 7cd30d0bdcaf9a246f381162232dfefe86707e693019eb5b0e8d1d2a72b48a14 |
Hashes for batoid-0.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b97a32c867659ee00bd4d0aab47c480edb02a3fe18023d06c39172d26dfb01ba |
|
MD5 | d71f469a7b36a51a95dced9297e760e0 |
|
BLAKE2b-256 | fa79cd2181ca1eb3b355a2979dff86e881de8c9a910a1b9f1e88c10352020afd |
Hashes for batoid-0.5.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c850838796581359962b59f35eca73008b20d8ba78d1206d0c0885d7f285aa6 |
|
MD5 | 1c348f74cd8062dc09727b2c150fbb45 |
|
BLAKE2b-256 | 90fe4f7b5648d02ddc6ec3586488966c64385ea42f21f83e5be00a184c30ff21 |
Hashes for batoid-0.5.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b8414e44cfa4be5f27be66c0275db99437a012c0bdd424d5da1505f31793949 |
|
MD5 | 16362bbc2659d8614b375d0bf7eba1c2 |
|
BLAKE2b-256 | 35a853b6067704a8a84dab381a72f363d6d6d77ef18a63f3f4cc2c5c1e96c6e0 |
Hashes for batoid-0.5.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9a9c7e5ed49d9e43fde128ea6767cf1d69a0fba51ad1d729c74428c31505c96 |
|
MD5 | cf84fd0e32af1800602674b84333de95 |
|
BLAKE2b-256 | 1f5fd62b8863c6dd76ca58f57830a3a3e2d08886075632a07c9ee1c6bc968761 |
Hashes for batoid-0.5.0-cp310-cp310-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4311d66e8431eac62e7bd537982f74d4cdbbd1ab35dc6b89e9988246e805304f |
|
MD5 | 6eecce0374a3624b42bf6992c69f6b4d |
|
BLAKE2b-256 | 86001f99bcef59573f1ba2e3f594bb44a158bbd796d7beb67d91f9b4e23b1fcd |
Hashes for batoid-0.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 314198f3915cfd27a3d83deca5ee83b4422d7b44d396565b5666ba662fd1b750 |
|
MD5 | 7a5669bb174179dd1733303d2b2653ba |
|
BLAKE2b-256 | b390e83bd2fb28ce086710b738bf3a80ec76e2faa064dd51537d9e7fbb688a56 |
Hashes for batoid-0.5.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a780669256acee7490519a87f90407af25f1c04d5f50e5f97c62564e404fdb5 |
|
MD5 | de0285feb9a4ba60294c367b918ac842 |
|
BLAKE2b-256 | 24fd5954f4321aa8dede1fd50f882db0d4576ec74ae8a686e2daa6696a868fd0 |
Hashes for batoid-0.5.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b963f531b8541db27ecc6d181818823e405159e51853628850abf176a79c11d |
|
MD5 | 17bb9ca8020866572b12c917f7af4be1 |
|
BLAKE2b-256 | 9c593b70635e5033aa204704509a887edbff4e8c866fa60c32569e7d27a76d39 |
Hashes for batoid-0.5.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74c4a81d54aa96218e35abe3ba56da5ba17512f9fd5574865c5381b9eaa65727 |
|
MD5 | bd8f411b97454dc9e950eafc8ef3e823 |
|
BLAKE2b-256 | e1971ae50954bc14778999e81675b36b1e7ab76ebc69de622f706a7903dec41b |
Hashes for batoid-0.5.0-cp39-cp39-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dfe56195b322ea5c40e83cd8b98b976b057feaf4b56a407d0794a90518531e1 |
|
MD5 | 5caedf96a7cf575b499e1cb8cb97ad86 |
|
BLAKE2b-256 | c60021e26e95a430d3cfd01f959d95f3a211c3f5b101c8496f1034f47f96de16 |
Hashes for batoid-0.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfd5304843d1650585a8324678b5ac80a7a7f68ae747ddfb84a9f8bc3cd98fac |
|
MD5 | 1e539cb313aaa7ccad4a91edf113f48d |
|
BLAKE2b-256 | 692c63a2e92443bd7db9a6abbc356eb4a05c0670f1975df261fd5e344ad6e0a1 |
Hashes for batoid-0.5.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19de1e3f5f44bb38720666ee4f60064bb704175cd37dc13695b095cca4795dfb |
|
MD5 | 2f9a904547a0fbe365f95add6668a9eb |
|
BLAKE2b-256 | 6868e54b837c6919245585a0976c1d48e1698b9583a18ceb19cdc9f531a93303 |
Hashes for batoid-0.5.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ded9e562bf268b0afff0488394f2a7975bf1ddae56d30f0c2c5e8d16e6efed09 |
|
MD5 | b6f69d7dd71c801cd6c88c5e723c211b |
|
BLAKE2b-256 | a5940ae9faa0bda4e7e08ca00575acf4315752937016c6caf57d7ab4973b5e9d |
Hashes for batoid-0.5.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f251d758fdb45b7667a1cd8ddf2d546bcdf0a871d64dda0155096abe4e295a |
|
MD5 | 139df3c34057115da0bfd3daa87e6dd1 |
|
BLAKE2b-256 | bff368ce5b9e239a63d5c1dc1d706c0c4223bace276e725df5fa79918bbf7291 |
Hashes for batoid-0.5.0-cp38-cp38-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df081df2c4b2b778e49a56b7119d56d322fda6739550753f78d76fe34da87b85 |
|
MD5 | 3bd373bd1c9d4fa20e873301acc45661 |
|
BLAKE2b-256 | 04555c64d785136675af3155760dcd8fb774d6bbc73dc5a0ee1b973e7cc03859 |
Hashes for batoid-0.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c265cf2291635e988e3b6ede1bbaf9d71e5c4c4a0c011db9914cb97e457d94e |
|
MD5 | a4204d2aa47c286ef77e7eb1886d3fb9 |
|
BLAKE2b-256 | ffcb383fa4c32bc3cdfc1309543cca8f2f87b96bc84ed5291476a4902151cf95 |
Hashes for batoid-0.5.0-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8e86dd8badb2a4630b22bf8854e7fec1ed20399a987aac22882600bf0b62a05 |
|
MD5 | 432f123e0d7d57ce5582b81a837a3916 |
|
BLAKE2b-256 | 32a983561a8c7ed25c9d1914e8f46ee9ef82b3b0177ec2188f19d6b4ed212250 |
Hashes for batoid-0.5.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2852c3a44b349e128da415869c710b8b59dffdd7a381929d300b81d419866f4a |
|
MD5 | 4c2288e7cfb5d019c26002858edcca68 |
|
BLAKE2b-256 | bef3d19f9a0ff5fc5ecfdbbd7c03385f46abd5f2318ebda21c572675557352d5 |