Skip to main content

DOI Documentation Status Build Status Coverage Status

python-specex

Extract spectra from fits cubes

SETUP

To install the latest stable version of specex, just use pip:

$ pip install specex

Some functionalities are enabled only if some optional packages are installed, these packages can be installed by pip when installing Specex by specifing the desired configuration, for example

$ pip install specex[animation]

will install the packages required to use the command specex-cube-anim, while with the command

$ pip install specex[animation,regions,redrock]

also the packages to use rrspecex and to enable region file handling will be installed. To install all the optional dependencies use

$ pip install specex[all]

To install the bleeding edge version, clone the github repository then use pip:

$ git clone 'https://github.com/mauritiusdadd/python-specex.git'
$ cd python-specex
$ pip install .

If you want to use the rrspecex script and the correspondig module, make sure to install also redrock. If you don't already have a system wide installation of redrock, a simple script is provided that creates a python venv and downloads and installs the required packages, in this case the commands to install specex are the following:

$ chmod +x redrock_venv_setup.sh
$ ./redrock_venv_setup.sh
$ . ./redrock_venv/bin/activate
$ pip install .[redrock]

DOCUMENTATION

To build the documentation, install the requirements and run sphinx:

$ pip install -r docs/requirements.txt
$ sphinx-build -b html docs/ docs/_build/html

The full documentation is also available here: [https://python-specex.readthedocs.io/en/latest/index.html]

ACKNOWLEDGMENTS

If you used this software for your research, please consider to cite the following article

https://doi.org/10.1051/0004-6361/202349060

@ARTICLE{DAddona2024,
  title     = "The powerful lens galaxy cluster {PLCK} G287.0+32.9
               ({$\vartheta$E} $\sim 43$ ′′)",
  author    = "D'Addona, M and Mercurio, A and Rosati, P and Grillo, C and
               Caminha, G and Acebron, A and Angora, G and Bergamini, P and
               Bozza, V and Granata, G and Annunziatella, M and Gargiulo, A and
               Gobat, R and Tozzi, P and Girardi, M and Lombardi, M and
               Meneghetti, M and Schipani, P and Tortorelli, L and Vanzella, E",
  journal   = "Astron. Astrophys.",
  publisher = "EDP Sciences",
  month     =  feb,
  year      =  2024,
}

Release files for specex 0.8.1

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

Source distribution (sdist)

Source distribution for specex 0.8.1
File Size Uploaded
specex-0.8.1.tar.gz 2.4 MB Details

Built distribution (wheel)

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

Total release size:2.4 MB

Release files / specex-0.8.1.tar.gz

Download URL specex-0.8.1.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
d6bcfd08a07c98329a4473a17938e9c86f061ac2e4cd1eb2251e0819b75ecd2a
BLAKE2b-256 checksum
How to use checksums
4a3716d03ae515f032bafddde3b260bf32cd1183dc7f48e11ad54d5c2e17f8e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / specex-0.8.1-py3-none-any.whl

Download URL specex-0.8.1-py3-none-any.whl
Size 80.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30967efeef7329a945a85a584cb5da6706bb8ca4d194a7ddc420279d2f7af6b6
BLAKE2b-256 checksum
How to use checksums
3d934108b289816478a7d3924f78a34f32428f2d45e7748d2d1e8f64c5d84cc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.11

2 release files

0.7.10

2 release files

0.7.9

2 release files

0.7.8

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

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