Skip to main content

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()

Metadata

Release files for speXtra 0.44.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for speXtra 0.44.0
File Size Uploaded
spextra-0.44.0.tar.gz 287.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for speXtra 0.44.0
File Interpreter ABI Platform
spextra-0.44.0-py3-none-any.whl Python 3 none any Details

Total release size: 709.9 kB

Release files / spextra-0.44.0.tar.gz

Download URL spextra-0.44.0.tar.gz
Size 287.7 kB
Tags Source
SHA-256 checksum
How to use checksums
684aa0bd91ea8ada169c602861c0fc5a32b26d072ceeb529e2363abcb035ffa5
BLAKE2b-256 checksum
How to use checksums
65dd9e2dacdf8c9d32245afc831a0facdcc9478665a0cc425ec8e2c2a14f4855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.0 CPython/3.12.3 Linux/6.17.0-1020-azure

Release files / spextra-0.44.0-py3-none-any.whl

Download URL spextra-0.44.0-py3-none-any.whl
Size 422.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24c330b90f3224e6969d2ead4ff32c4e751e9219a8de8f539f156bed36c869c8
BLAKE2b-256 checksum
How to use checksums
8b816a873c4f4202b423b3e29792dcb919fccd08b995d4c14a18242d903c4b2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.0 CPython/3.12.3 Linux/6.17.0-1020-azure
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page