Skip to main content

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

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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spextra-0.44.0.tar.gz
  • Upload date:
  • Size: 287.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.12.3 Linux/6.17.0-1020-azure

File hashes

Hashes for spextra-0.44.0.tar.gz
Algorithm Hash digest
SHA256 684aa0bd91ea8ada169c602861c0fc5a32b26d072ceeb529e2363abcb035ffa5
MD5 cb2606e548b6e3cd6c06917866e1bd25
BLAKE2b-256 65dd9e2dacdf8c9d32245afc831a0facdcc9478665a0cc425ec8e2c2a14f4855

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spextra-0.44.0-py3-none-any.whl
  • Upload date:
  • Size: 422.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.12.3 Linux/6.17.0-1020-azure

File hashes

Hashes for spextra-0.44.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24c330b90f3224e6969d2ead4ff32c4e751e9219a8de8f539f156bed36c869c8
MD5 7b03440ebe2f7ba2af497f12eaaf79cb
BLAKE2b-256 8b816a873c4f4202b423b3e29792dcb919fccd08b995d4c14a18242d903c4b2f

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