EightBitTransit


NameEightBitTransit JSON
Version 2.1.0 PyPI version JSON
download
home_pagehttps://github.com/d-giles/EightBitTransitGPU
SummaryShadow imaging of transiting objects
upload_time2023-08-10 23:02:14
maintainer
docs_urlNone
authorDaniel Giles (Orig. Emily Sandford)
requires_python>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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`



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/d-giles/EightBitTransitGPU",
    "name": "EightBitTransit",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Daniel Giles (Orig. Emily Sandford)",
    "author_email": "daniel.k.giles@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/27/1e/02b5d5c47e5530c548535cb8ea709c94a493ad497ad7d28d6cc29fe1a5a2/EightBitTransit-2.1.0.tar.gz",
    "platform": null,
    "description": "# README #\n\nThis version of `EightBitTransit` is an MIT-licensed python code redesigned to make use of GPU parallelization with Numba:\n1. Can calculate the light curve of any pixelated image transiting a star;\n2. Can invert a light curve to recover the \"shadow image\" that produced it.\n\n# Installation #\n\nTo install EightBitTransit, download this directory, navigate to it, and run:\n\n`pip install .`\n\n# Dependencies #\n* Numpy\n* Scipy\n* Numba\n* imageio\n* itertools\n* matplotlib\n  \nOptionally (for the example notebook):\n* jupyterlab\n\n# Examples #\n\nSee `./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).\n\n# Note on memory #\n\nRepeated 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.:\n\n`ti = TransitingImage(...)`\n\n*some operations on ti, etc.*\n\n`ti = None`\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Shadow imaging of transiting objects",
    "version": "2.1.0",
    "project_urls": {
        "Homepage": "https://github.com/d-giles/EightBitTransitGPU"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ee25224fd7aad289609eb86ddec1232682a0f5b34f89a404e2db9765237db8fa",
                "md5": "dffc40ebcc2f926ee7be169748b42ab7",
                "sha256": "b78a5693305dcbcc8b125ff18909d63e5eef171530dcc3c768502d8b272bbcfe"
            },
            "downloads": -1,
            "filename": "EightBitTransit-2.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dffc40ebcc2f926ee7be169748b42ab7",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.6",
            "size": 38955,
            "upload_time": "2023-08-10T23:02:12",
            "upload_time_iso_8601": "2023-08-10T23:02:12.796752Z",
            "url": "https://files.pythonhosted.org/packages/ee/25/224fd7aad289609eb86ddec1232682a0f5b34f89a404e2db9765237db8fa/EightBitTransit-2.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "271e02b5d5c47e5530c548535cb8ea709c94a493ad497ad7d28d6cc29fe1a5a2",
                "md5": "3b63fc96935940a303bd3adc84ffd5e3",
                "sha256": "4f072bb6aa314a97637728ade2905dd1941feff48a363def7fa7701d24e0e4b2"
            },
            "downloads": -1,
            "filename": "EightBitTransit-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3b63fc96935940a303bd3adc84ffd5e3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 40440,
            "upload_time": "2023-08-10T23:02:14",
            "upload_time_iso_8601": "2023-08-10T23:02:14.459195Z",
            "url": "https://files.pythonhosted.org/packages/27/1e/02b5d5c47e5530c548535cb8ea709c94a493ad497ad7d28d6cc29fe1a5a2/EightBitTransit-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-10 23:02:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "d-giles",
    "github_project": "EightBitTransitGPU",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "eightbittransit"
}
        
Elapsed time: 0.17700s