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

Soon a PyPi version will be available

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

Uploaded Source

Built Distribution

spextra-0.41.0-py3-none-any.whl (421.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for spextra-0.41.0.tar.gz
Algorithm Hash digest
SHA256 7fc8770ddfd8d2fb84108db48c493926f48fac301803770b5c985b530aadd3dd
MD5 3a4e9ccc54d131e5d2b25f36a25e4f5c
BLAKE2b-256 6482b1ecec994dc32496dfdc4a55f431c3853824515465224313e4c78f5522e4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for spextra-0.41.0-py3-none-any.whl
Algorithm Hash digest
SHA256 024935c654ab7aca2f23b13627426482577a2ad233124597999cd445052caa35
MD5 2fb2870582588e18414373a02379aab9
BLAKE2b-256 16d0e5febacb70d7780ef667c4d0cd9ead993d6047cfb464396c87ab1d0440da

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