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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spextra-0.43.3.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.3.tar.gz
Algorithm Hash digest
SHA256 e13ea7d27f07c252880a2bca80de39b77f423c9b57fc25869fd0a24b1e503270
MD5 f7e999896e4adc11ae863dc3eb68ae4d
BLAKE2b-256 1ade15bb175635932b1ac59e19d8d0223656a9a8357c778240bd0e455f5e2528

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spextra-0.43.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f513a1d226e7eeb42fe82d5b4c2a0d3bc1482407123154daa6cff44e0823ab0b
MD5 692cc23b141e6db9d2488206f2f037e7
BLAKE2b-256 e84c84972ac2cb0b4689cca63da657d1e22b8b8c7c68e64d70e1f0b539847443

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