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.2.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.2-py3-none-any.whl (421.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spextra-0.43.2.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.2.tar.gz
Algorithm Hash digest
SHA256 8fb36ea4e28f7301f310ac0b40579a1b2a374a20d87f1869c2a5fa4fd6b65b32
MD5 ee79c8545f335e7077bca95659f35a12
BLAKE2b-256 35a8c9ff7c1e12f248aba278a6c98a1ef3c720fd9b360f057bfa97b25f4bfc7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spextra-0.43.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f80e19ade3fc09e454c2b6e650407466f81ada700be332f46658c7b47521264c
MD5 4d34d3424192960054fd2ed94c1f4a23
BLAKE2b-256 4b8ca912c8335eeef8f88945a61059429c4961867fc90ed3e96b1ac31865e1a9

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