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.43.1.tar.gz (288.2 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.43.1-py3-none-any.whl (422.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spextra-0.43.1.tar.gz
  • Upload date:
  • Size: 288.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for spextra-0.43.1.tar.gz
Algorithm Hash digest
SHA256 ab53600902f37c85231be5013f1a5e4a44be2956e3142df6a977a4627414c349
MD5 d8ac4ddfda39f1fb1bc317d48833027e
BLAKE2b-256 8f16587a87d897d3719d5e7d324d10f75eedff3ba78eb6dad9b9de762f464663

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for spextra-0.43.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27f708ac5fe96e9a6fd38ee006780a951afb7e3fad773f36c6f55cc14b54a1e2
MD5 9ef8e458def4e346d80c29a98b6423ae
BLAKE2b-256 46f5909cc6649d74482f0f969aea21464c26a7ec63cd7c1835a20fe085024e10

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