Skip to main content

Tool to manage and manipulate astronomical spectra.

Project description

SpeXtra

Tests Poetry dev version

Documentation Status codecov PyPI - Version PyPI - Python Version

License: MIT

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 simply run:

pip install spextra

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()

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.41.3.tar.gz (289.3 kB view details)

Uploaded Source

Built Distribution

spextra-0.41.3-py3-none-any.whl (422.2 kB view details)

Uploaded Python 3

File details

Details for the file spextra-0.41.3.tar.gz.

File metadata

  • Download URL: spextra-0.41.3.tar.gz
  • Upload date:
  • Size: 289.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/6.5.0-1025-azure

File hashes

Hashes for spextra-0.41.3.tar.gz
Algorithm Hash digest
SHA256 03ea77ff2d64704a60917509bebee8111d70b953d5758b9b18cc6cb522244b88
MD5 12aee92188a5c3bed75492fe75f2eadd
BLAKE2b-256 71ce345e43b533292fbe63f8c2bf6b98d533661a3f81e65f7031b7c2681285a8

See more details on using hashes here.

File details

Details for the file spextra-0.41.3-py3-none-any.whl.

File metadata

  • Download URL: spextra-0.41.3-py3-none-any.whl
  • Upload date:
  • Size: 422.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/6.5.0-1025-azure

File hashes

Hashes for spextra-0.41.3-py3-none-any.whl
Algorithm Hash digest
SHA256 16c66064cfb13c9df039977bc7d30f605e24f1cfead4a2c391d16082619bf7f9
MD5 29f53ef69d89c65e4fa1f379b278f0c4
BLAKE2b-256 ea83301143c0a15de7501108004fe2120fe9cf8b6103be1d82d3384fcf68f709

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