Skip to main content

Library for simulating direct images of exoplanetary systems.

Project description

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.

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

exoscene-1.2.tar.gz (29.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exoscene-1.2-py3-none-any.whl (30.0 MB view details)

Uploaded Python 3

File details

Details for the file exoscene-1.2.tar.gz.

File metadata

  • Download URL: exoscene-1.2.tar.gz
  • Upload date:
  • Size: 29.6 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for exoscene-1.2.tar.gz
Algorithm Hash digest
SHA256 a1f5fe623f957e3114bedfb69922e3aee40ecc2a2ff9b385333eaa06dd95e8b0
MD5 24af78e5e3e2da22d8a0b6bf2ed38cef
BLAKE2b-256 da4366b3d9b9429b3cae077eb5d923a8565a80be33dad210630a092bbf8fff08

See more details on using hashes here.

File details

Details for the file exoscene-1.2-py3-none-any.whl.

File metadata

  • Download URL: exoscene-1.2-py3-none-any.whl
  • Upload date:
  • Size: 30.0 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for exoscene-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e54b6e8eef0dcbba026463ceaf4da282adc453ac50e0820d62cfacf69262e13a
MD5 457a9345fc4dd4c5370a742891f0b6a7
BLAKE2b-256 6f4bdccdf244f9a9192cf90e99f1c4a15d86f894052378e03cb07b2aa1fdfcb8

See more details on using hashes here.

Supported by

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