Skip to main content

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.9+, and either the clang or gcc compiler with support for c++14.

Installation

PyPI

Released versions of batoid are available on pypi as both wheels and source distributions. To compile from source, you will need a c++14 compiler available and placed such that 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 ::

pip install .

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

batoid-0.8.0.tar.gz (10.8 MB view details)

Uploaded Source

Built Distributions

batoid-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl (13.2 MB view details)

Uploaded CPython 3.13 musllinux: musl 1.2+ x86-64

batoid-0.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.8 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

batoid-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl (13.2 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

batoid-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.8 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

batoid-0.8.0-cp312-cp312-macosx_11_0_arm64.whl (802.9 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

batoid-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl (858.8 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

batoid-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl (13.3 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

batoid-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

batoid-0.8.0-cp311-cp311-macosx_11_0_arm64.whl (803.4 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

batoid-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl (857.7 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

batoid-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl (13.1 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

batoid-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

batoid-0.8.0-cp310-cp310-macosx_11_0_arm64.whl (801.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

batoid-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl (856.4 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

batoid-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl (13.2 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

batoid-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

batoid-0.8.0-cp39-cp39-macosx_11_0_arm64.whl (802.1 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

batoid-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl (856.7 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file batoid-0.8.0.tar.gz.

File metadata

  • Download URL: batoid-0.8.0.tar.gz
  • Upload date:
  • Size: 10.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for batoid-0.8.0.tar.gz
Algorithm Hash digest
SHA256 37de7605e0699c63fe46cc07bd536ee8cc7e65d92fc2722f7ce69d1e7c4ca0d8
MD5 ef7458c5346fff4fa2116cfae9af7c69
BLAKE2b-256 9e6b51802c4aa58baa2b5bfbc58e05c08cf35b2a37e52437323f8068cfbba009

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b2a5ef165a12040b5b1374aa86ace6770222b7b3e69ef730f1a35e58e36648f
MD5 17ff11318373f51f1fdb86d1cd33ba9a
BLAKE2b-256 c93acf7a24481a6a7b62c73b1b7638861629496cde7b40f482fdcb7de8efe6b7

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a4f2fbdc484a89ca070195409a92cab92dd28d2be6bef7729954ff2835c6431
MD5 f1f2e17a1b9b3f51a8ca6c9059d15688
BLAKE2b-256 80300819f6c59b8ff6ba394dc3daa83ecd83006f0abc5c6939a7cbc613b419c6

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 73edf5c9958422d04a845597524ceb9dad4b5573b116e93e1f5b63d7554905d4
MD5 9dc9a0b3a593825ceb640d76d202d742
BLAKE2b-256 d9a092b0d1665d8bcc862bdf41b741d0b9d4d00e8d3591953246a1afbe5e0e61

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 681673c3e563c5654dcc501872c6f6eb5e5bb1a70e09b1dd5a7c8a43d89da24d
MD5 045caa9e6187efddeaa21b1b52df4432
BLAKE2b-256 fcc3e3650493272b2f8198f01b366f0efc7f842c30cb189156301eb259d06a66

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06fe792c52ba67430850ea805f56937f1d565672995c038da1ab9865b4bf3701
MD5 d2a343cb428f02d4bee9db56317fdee5
BLAKE2b-256 d03f4dd10ee65404d9d080b7ff87078c491ab28851279dd061f88a3712958197

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8cd44e15262119824623e7e031cae3dfe56b899236efda5527b2d68c754536a9
MD5 bceb2662788bc025731b4769c8bab08f
BLAKE2b-256 fbd832296aee9672dd8207d5293e70328b5d0f3e9783c27e23caf9e033cff0f4

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 74313e7503e9f5e48f23cf7b4b43f30f0dd622c3583330530b1fd96282184338
MD5 d3f98f6573b1fce52db7ac943acb2acc
BLAKE2b-256 f11b8f07973767e71e030206b8e47c48f97229fd9ebc896b4f7f192118c48e1b

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8115694deeb3afd835e958f570d73f647fd0cf1de17de55bf5fc0b5ff107501
MD5 ab8e2d90db84468ffee792d63af7fedd
BLAKE2b-256 29bb7332f74313e22855aa20e4b0f0e79363ac3b10e82b4f0b76dd32c3a5e824

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bdee0b3b1135ec0b245584ffbb95ee9c7d5bc0580655a9a56dbbd73a5dbeedbf
MD5 9c38de6c97db9b1eb8dbda93e431dd2f
BLAKE2b-256 d7fa5d55bf9538d61cd7f99045c066cbe950a2e9ecda2ae2b6e073b7871df703

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e156c93d7f267ecc3f64461a183e07ec9226dd54b86c854bda6e5f66370c1860
MD5 7f11003b570a009372d8cb6598646986
BLAKE2b-256 0661d5418fb33922d603633cfffcf062ec20751c9ddefc29da5109a9a54e9ecf

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0fd13a9a952a28091ca531fddba29bee1fa9cf679e3ba33fdee05a3b2686174d
MD5 d4944f2c08a791370eb1e57bdba20194
BLAKE2b-256 c54caabb2d1e7fa288c6a29f1503deaba13777d5805f7f6ae0ea50834bf779fd

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 755196f1b492d488c32b19ecdb679dc8a9461b376f7be38af9b195f0cc3cbc8c
MD5 07fb809d8c6056e651a8f961af99a1ca
BLAKE2b-256 131564a695359d182942b0af5bfb6f2fdf67aaa440598543857f574b99995390

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 419be245c1e2e8ef506298e8b2a08f5f183c6c0991bf350a1561881fe7ab36f3
MD5 5ec27096302acd6a03787a0cd31bf182
BLAKE2b-256 380a3b4463d819d31577a9c6b5f84a15c15bd2857816338cd6886f1c4b564396

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c11f3dc6adb337674c880aab774401272f9eb960c62debd994df9ad5d7f473a7
MD5 33a2a1de59739c850f7ebf59b55270df
BLAKE2b-256 0a29092a04e4cd22eb283cf06a45efa80b3870173d22ac8cae574a7cc4424aff

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 539af9ef2bce26d74c8b60c059ffbbd8bbb8c78a1fa6795595833de2ca73fe75
MD5 1d9076beda0dab8856d953b2c60ddb79
BLAKE2b-256 8e16e30aad597cd879e5e766df6b42317bba3059bb4b1ec42647c300ba896dd0

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20d024b4e178c93fc4535eadd6b4706a9fe00d7fe9f27295b8906d77c95adbf3
MD5 6cbb8709fc106790d6cf3109cbe7c23d
BLAKE2b-256 437ec9ded6124c5794c6dfeffbf69c88e84d6ccbf2d3bea8fa9db1646256b1c3

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e879e123293900354028c625ceda9506d15431773e64b7e2bf55788856000232
MD5 e2360df7e0f051d2f0f4c2e86ba7e9f2
BLAKE2b-256 e2b71131111f7e3c403d1916a6d3987c186f1a8c0655da3b4201ddb3769c8a4a

See more details on using hashes here.

File details

Details for the file batoid-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.8.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d3348d104bb88bd12ec2519fd0b323d5bb853636c5614e6e53963f8e5efd8323
MD5 f96969992fd734184eedc511f264478a
BLAKE2b-256 841098d34b90c1cc7f2a4f0793e10107e2aac617b1dfd1ff0d60ce34fb1bba0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page