Skip to main content

Extract spectra from fits cubes

Project description

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,
}

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

specex-0.7.16.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

specex-0.7.16-py3-none-any.whl (79.4 kB view details)

Uploaded Python 3

File details

Details for the file specex-0.7.16.tar.gz.

File metadata

  • Download URL: specex-0.7.16.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for specex-0.7.16.tar.gz
Algorithm Hash digest
SHA256 7de362ef73cfbde0d8f3b809a2fdd61ebd3f1d5f42dd6cbd27f987ededd4b262
MD5 4d480ed073eb86b14e6c7a9de2d00a06
BLAKE2b-256 ca5c277142fb2acbf06fd3bbd00009c4f6cad6e62742e489214b0d5cc93e210c

See more details on using hashes here.

File details

Details for the file specex-0.7.16-py3-none-any.whl.

File metadata

  • Download URL: specex-0.7.16-py3-none-any.whl
  • Upload date:
  • Size: 79.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for specex-0.7.16-py3-none-any.whl
Algorithm Hash digest
SHA256 e3e2d29e47f58c3b8f82cf54f867c5e99d137bf178727d5c19130dd285b5661b
MD5 4e0d44f8c0304ab58a412a7877bb40ca
BLAKE2b-256 f415d536afa18cd7b4bf127bce2c52238afeeba5a74e2b5331af21e2fa7b64a1

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