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.7.3.tar.gz (10.8 MB view details)

Uploaded Source

Built Distributions

batoid-0.7.3-cp312-cp312-musllinux_1_1_x86_64.whl (12.6 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

batoid-0.7.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.3 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

batoid-0.7.3-cp312-cp312-macosx_11_0_arm64.whl (800.8 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

batoid-0.7.3-cp312-cp312-macosx_10_9_x86_64.whl (858.4 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

batoid-0.7.3-cp311-cp311-musllinux_1_1_x86_64.whl (12.6 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

batoid-0.7.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

batoid-0.7.3-cp311-cp311-macosx_11_0_arm64.whl (802.1 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

batoid-0.7.3-cp311-cp311-macosx_10_9_x86_64.whl (857.2 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

batoid-0.7.3-cp310-cp310-musllinux_1_1_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

batoid-0.7.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

batoid-0.7.3-cp310-cp310-macosx_11_0_arm64.whl (800.2 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

batoid-0.7.3-cp310-cp310-macosx_10_9_x86_64.whl (856.2 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

batoid-0.7.3-cp39-cp39-musllinux_1_1_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

batoid-0.7.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

batoid-0.7.3-cp39-cp39-macosx_11_0_arm64.whl (800.3 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

batoid-0.7.3-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.7.3.tar.gz.

File metadata

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

File hashes

Hashes for batoid-0.7.3.tar.gz
Algorithm Hash digest
SHA256 bdab492dd3fa3f2cbb1cdcc4d3357a3095bdecc4b2ee5dca33a5f4146bdd762a
MD5 9ef146c1ebe4bc317d7d4fb95f3e49a3
BLAKE2b-256 753e28cf0772a8b97e1a9c26813a787913c5bf207f27f6571d685d06e66b23fc

See more details on using hashes here.

File details

Details for the file batoid-0.7.3-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.7.3-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 1246b42da7d20d3108b401938ad09a4d9a155875574d91359daf0d811457295c
MD5 67939cc0ac9add5e582f3acb246c2953
BLAKE2b-256 458d1e9ad9cd72af1aafe64db7343f1fcfb5d902246bfc69f5a203679be8bf9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 75503b1df509927966db26ffe5f512af96822b07bfb093f7ff9d801ccabf131a
MD5 ce0ed3365c9e52eb38d70bd513afd4b1
BLAKE2b-256 e7edc6f8e7eea926c4ecf0f0478e0020a6b12c5026dabc2389e51eb1cf7c4840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bd4893eda472bb3282048471e2fd93b8cf0febaa44305899f4908a41bf8ea546
MD5 7c454211f0e7f69334f7db0dda0da5c9
BLAKE2b-256 cdae85989e5c7155fa13567ad0b8d016a40f282e61a1571dd47adb46d9c7fdba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1d3fc64c5c7b507aea02d37355928f871d33c73a33a7585ee1c9afea278f6709
MD5 d93a8d80f637f8a4a18cc76580020478
BLAKE2b-256 611728e57c9ed13f70a1fb294b516515291a1d380405e8054ad1a4bbaa737173

See more details on using hashes here.

File details

Details for the file batoid-0.7.3-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.7.3-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 907a6ca27e12879786120741350aaad21804acff55a12b570edbcfb72788a118
MD5 47b6327e02543d59187c5de8941aea55
BLAKE2b-256 e14141fe51ad415e627a90160c63c3f67853eb98a7c2c36ebcee2b7d7ff64818

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c10a5f37dd1ebd8cbbc8dabbb9b009925afce0a480bf038f2150bd6b5e338898
MD5 288ad9ba592c50bd41092c9864f04ae2
BLAKE2b-256 b37bf328e95df0790e3d2a654de6dbe771fa3827ff3f11fa05f122d253748c23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f8b51a4b838760607826be213d77fbca307fdeadf1277c94d3f1381840705d0
MD5 75281788df90867d10895e28029cb39b
BLAKE2b-256 5c201cdd18995ed34fc7f695b4b513c7073d061d97f0df85dc79277262901e5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 57fb4e788d7cf579f21ec4ab62fa442e2b7dbcc1ba7057fc965646c08a350487
MD5 c1a11a6407880db5e36f66dbbe9cff3e
BLAKE2b-256 2fc85eb71771a61a29f9e4fb9fb9f4fc45c04f3005444aeb717ff72a6caae94d

See more details on using hashes here.

File details

Details for the file batoid-0.7.3-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.7.3-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3ed351754279d0de426f1b31dc4162cd8430cfa87eb49541e34c9f93125b2b1a
MD5 22796fd034e09458cfd42b90f792d410
BLAKE2b-256 aad57ddf7205470eee771be15ce62b8302a0eb2b99375fac6fd90dab139ecc2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8e770bbc11ae17f53d43266fad2ba5da5e49d82db5ede154a2930531922fee70
MD5 b3842cc8a8233690e709861d3ffa51cc
BLAKE2b-256 598da1312622bcb2004a16d4f0d665604d109db4e35aad3c9fffbb951f939d28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 16776c55d55bf3cced360c71508d4f4903f7a2e3e1adc1da1b5a2f9f72671d98
MD5 ff277f499aae74b9826c1af20ca83ebd
BLAKE2b-256 1ca69544ba47f1413bb7cb859e2f22ac4736472559be2f320708e52d87c24086

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 82a47de5feb5968560765b34255806aba28d9324ff2bf6c64b38a0d61c7acf5a
MD5 bcee0c7235823f552fdf7fef25692e36
BLAKE2b-256 4a371fbde62fb568a5cb4f50b8b4e6ba8da543e28b27b06b013d38a8ce3c6046

See more details on using hashes here.

File details

Details for the file batoid-0.7.3-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for batoid-0.7.3-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5ca9ce3a916dcb7357d868316de86b9d0818852418bff35a66fdd6e09f7d3e93
MD5 723749591e74688e00125b7a49b355d1
BLAKE2b-256 2f12b45b5a43fbc8aff74291f85f7dc5873f190f7585a2a1a921780be73acff0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b20ea76bddaf1e058057ab43ea9df2d3e83808719349d35ae4809ca8bc841db1
MD5 d64dd7cba961cea817cf82b84366eafd
BLAKE2b-256 f3cceacf391634d4425f9dec6291ea7c36df92b0df7aa919b29a2fcc993650a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d1b5fe67183b7d4e8f908aa66594afd34e041a17d15051e3b14cc7e305c1e658
MD5 27ce4da940180ff4fcf22ff2a09857d5
BLAKE2b-256 c53f419766d05651c978ac15be5214d4877c77397de3b55baf751d8c548b8d9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for batoid-0.7.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 109227a5130f567aa89726909edbe09881251e9f9923ad7193ec93939cb7d904
MD5 5ded49dfbd1e506cfcb3b523803eed8b
BLAKE2b-256 788827a24bc558170ddb94d66a3c90dcf61108a3134d8f0aa6e55435ea67d5d3

See more details on using hashes here.

Supported by

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