Skip to main content

exoscene

Installation: pip install exoscene

exoscene is a library of classes and utility functions for simulating direct images of exoplanetary systems. The package was developed by Neil Zimmerman (NASA/GSFC), with source code contributions from Maxime Rizzo, Christopher Stark, and Ell Bogat. This work was funded in part by a WFIRST/Roman Science Investigation Team contract (PI: Margaret Turnbull).

exoscene makes significant use of the Astropy, NumPy, SciPy, and Scikit-image packages.

A jupyter notebook providing usage examples for much of the functionality is included under the docs subdirectory: exoscene/docs/notebooks/Roman-CGI_scene_demo.ipynb

The functions are organized in 3 modules: exoscene/planet.py, exoscene/star.py, and exoscene/image.py.

1. exoscene/planet.py

  • a Planet() class with a data structure for containing the basic physical parameters of a planet, its orbit, its host star, and associated methods for computing its relative astrometry ephemeris, its phase function, and flux ratio.

  • A function for modeling the orbital position and the Lambert sphere phase function, based on the Keplerian orbital elements and date of observation.

  • A function for mapping the time-dependent sky-projected position and Lambert phase factor.

2. exoscene/star.py

  • Functions for computing the band-integrated irradiance of a star based on its apparent magnitude and spectral type, and instrument bandpass, using the built-in Bruzual-Persson-Gunn-Stryker (BPGS) Spectral Atlas (under exoscene/data/bpgs/)

  • A function for computing the approximate parallax and proper motion offset for a star, based on the celestial coordinates and observing dates.

3. exoscene/image.py

  • A function for accurately resampling an image model array to a detector array.

  • Functions for translating a coronagraph PSF model to an arbitrary field point, taking into account position-dependent properties included in the model.

  • Functions for applying a noise model to a detector intensity map, to simulate an image with photon counting noise, read noise, and dark current, for a given integration time.

Copyright © 2020 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Other Rights Reserved.

Release files for exoscene 1.2

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

Source distribution (sdist)

Source distribution for exoscene 1.2
File Size Uploaded
exoscene-1.2.tar.gz 29.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for exoscene 1.2
File Interpreter ABI Platform
exoscene-1.2-py3-none-any.whl Python 3 none any Details

Total release size: 59.5 MB

Release files / exoscene-1.2.tar.gz

Download URL exoscene-1.2.tar.gz
Size 29.6 MB
Tags Source
SHA-256 checksum
How to use checksums
a1f5fe623f957e3114bedfb69922e3aee40ecc2a2ff9b385333eaa06dd95e8b0
BLAKE2b-256 checksum
How to use checksums
da4366b3d9b9429b3cae077eb5d923a8565a80be33dad210630a092bbf8fff08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3

Release files / exoscene-1.2-py3-none-any.whl

Download URL exoscene-1.2-py3-none-any.whl
Size 30.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e54b6e8eef0dcbba026463ceaf4da282adc453ac50e0820d62cfacf69262e13a
BLAKE2b-256 checksum
How to use checksums
6f4bdccdf244f9a9192cf90e99f1c4a15d86f894052378e03cb07b2aa1fdfcb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files

1.1

2 release files

1.0

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