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.5.tar.gz (286.8 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.5-py3-none-any.whl (421.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spextra-0.43.5.tar.gz
  • Upload date:
  • Size: 286.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.12.3 Linux/6.14.0-1017-azure

File hashes

Hashes for spextra-0.43.5.tar.gz
Algorithm Hash digest
SHA256 878361d1b96d60d68554b35f2e5a71ea09f706897f8256f74a61c2ef92124fed
MD5 693bcc244eb9a85dc7270e3472344f0c
BLAKE2b-256 a44213dfd1257e3850c6939f51302bf12dfa5e3ed3f95068136d37328ccecdf2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for spextra-0.43.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4601d51b54eb89d4978558fd1e41c8f7c0b2bbc7bf4922a21eb478d9a1720cdd
MD5 682535801c687bf3924a08b2ba245d5b
BLAKE2b-256 75fe22ad20bd475ebe5300ba752abea5762b077a0d1e250b5bc72d826de2b950

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