Skip to main content

Tool to manage and manipulate astronomical spectra.

Project description

SpeXtra

Tests Poetry dev version GitHub Release Date

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

Uploaded Source

Built Distribution

spextra-0.41.4-py3-none-any.whl (422.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spextra-0.41.4.tar.gz
  • Upload date:
  • Size: 289.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.0-1014-azure

File hashes

Hashes for spextra-0.41.4.tar.gz
Algorithm Hash digest
SHA256 d1b76204d8543994c41c36fbc2b54fa406b69a102bf7e6ba0ef3c0cfc13a6c47
MD5 f02f1657937ad345b1796c77968f2003
BLAKE2b-256 71769f38d9696bb836f2f8ebdf8573ba586fb193cec5d49a882a757529925d80

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spextra-0.41.4-py3-none-any.whl
  • Upload date:
  • Size: 422.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.11.0-1014-azure

File hashes

Hashes for spextra-0.41.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bab09cedffc92ab3353127fcb49a40e9aab5be42609161fd1f764f408a9d7ef1
MD5 52f7062720ff1804bcd497f11259113f
BLAKE2b-256 3a707387c1486ee26f3c4c3ecdce9eed50e8fa10bd83513caf532d9e9c75661c

See more details on using hashes here.

Supported by

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