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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: spextra-0.41.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d0dd2d0fc930130890a7eef1d784259a62f2a2e53e6ab08b7f3c5da75ad4311b
MD5 bced24494e15455bed643fe3381e43b7
BLAKE2b-256 4f1265e14304bcc3a4aa2783a4cc1777c1d20b0016183e5ecdc3d75091837d7d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spextra-0.41.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51982bed0d8a562d01378cdb784840809b45ab78af30c780fbb9a3ac20350f48
MD5 42fb9484c5f13066859a82cb02190776
BLAKE2b-256 99568fd5c45c07b630dc95f92e72466ccf531657d70b6f1b35d357765e693231

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