Skip to main content

README

This version of EightBitTransit is an MIT-licensed python code redesigned to make use of GPU parallelization with Numba:

  1. Can calculate the light curve of any pixelated image transiting a star;
  2. Can invert a light curve to recover the "shadow image" that produced it.

Installation

To install EightBitTransit, download this directory, navigate to it, and run:

pip install .

Dependencies

  • Numpy
  • Scipy
  • Numba
  • imageio
  • itertools
  • matplotlib

Optionally (for the example notebook):

  • jupyterlab

Examples

See ./examples/examples-gpu.ipynb for examples of both the forward and inverse shadow imaging problem, including for dip 5 of Boyajian's Star. This code reproduces figure 12 of Sandford & Kipping 2018 (https://arxiv.org/abs/1812.01618).

Note on memory

Repeated TransitingImage() calls can cause python to run out of memory in certain cases (thanks to textadactyl for pointing this out!)--when you are done with a TransitingImage object, deallocate it explicitly, i.e.:

ti = TransitingImage(...)

some operations on ti, etc.

ti = None

Metadata

Release files for EightBitTransit 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EightBitTransit 2.1.0
File Size Uploaded
EightBitTransit-2.1.0.tar.gz 40.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for EightBitTransit 2.1.0
File Interpreter ABI Platform
EightBitTransit-2.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 79.4 kB

Release files / EightBitTransit-2.1.0.tar.gz

Download URL EightBitTransit-2.1.0.tar.gz
Size 40.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4f072bb6aa314a97637728ade2905dd1941feff48a363def7fa7701d24e0e4b2
BLAKE2b-256 checksum
How to use checksums
271e02b5d5c47e5530c548535cb8ea709c94a493ad497ad7d28d6cc29fe1a5a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

Release files / EightBitTransit-2.1.0-py2.py3-none-any.whl

Download URL EightBitTransit-2.1.0-py2.py3-none-any.whl
Size 39.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b78a5693305dcbcc8b125ff18909d63e5eef171530dcc3c768502d8b272bbcfe
BLAKE2b-256 checksum
How to use checksums
ee25224fd7aad289609eb86ddec1232682a0f5b34f89a404e2db9765237db8fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page