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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spextra-0.43.4.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.4.tar.gz
Algorithm Hash digest
SHA256 d8544d081a82f4e01e0368e8390564abd976926483780ea01ce57af13912fa5f
MD5 aca65081c5fcd51db63e389651e94020
BLAKE2b-256 7873b5d4836f974aca4c9a7f1800c39607b07e4e2735e2198e099c95703edc9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spextra-0.43.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c15d550f2e8fcc418daec34292a6af13c1f5db6c0d44ab8ee8af5aadb55369
MD5 e35cd14dad3c8bec2a1059aadf130c71
BLAKE2b-256 743be91a39938ba451aaefff0e4f87ddb4e0cb17bfeeb16c6c9f75cd7621b0d9

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