Skip to main content

Tool to manage and manipulate astronomical spectra

Project description

Tests Status Documentation Status

A python tool to manage and manipulate astronomical spectra

Description

speXtra is a python tool to download, load, display and manipulate spectra of astronomical sources. It has developed to provide spectral sources to ScopeSim but it may be helpful for other purposes too.

speXtra stands in the shoulder of giants: synphot and astropy

To install spextra please clone the repository

git clone https://github.com/miguelverdugo/speXtra
cd speXtra
pip install -e .

Soon a PyPi version will be available

Functionalities

speXtra is able to:

  • Download spectra from a database and return it in format compatible with synphot format

from spextra import Spextrum
sp = Spextrum("kc96/s0")

and it will load the S0 galaxy template of the Kinney-Calzetti spectral library. To quickly plot the resulting spectra, simply type

sp.plot()
./docs/_static/images/kc96_S0.png

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

speXtra-0.1.dev1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

speXtra-0.1.dev1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

Details for the file speXtra-0.1.dev1.tar.gz.

File metadata

  • Download URL: speXtra-0.1.dev1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for speXtra-0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 340387f3f17c5b57d0ab717ea318c41e4b998e672ad409cd7f400d266cde331e
MD5 58f43fc5279365da988d6ac3b0f1a8f1
BLAKE2b-256 7e10557da624366b60f7bd5ef08886406de7930fa73f933f783a2f9568805e18

See more details on using hashes here.

File details

Details for the file speXtra-0.1.dev1-py3-none-any.whl.

File metadata

  • Download URL: speXtra-0.1.dev1-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for speXtra-0.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe355df78a341533f54524d183756404fd8f180a554a7a363b7429f304481a01
MD5 d266a876c3da9fb50fa4d2d61ccec25a
BLAKE2b-256 081999c1409db745c07bf29d5e166c750f3cd3b606dcd2f2a806271d5dcd40b6

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