Skip to main content

Extract spectra from fits cubes

Project description

python-specex DOI Documentation Status Build Status Coverage Status

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]

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.9.tar.gz (72.3 kB view hashes)

Uploaded Source

Built Distribution

specex-0.7.9-py3-none-any.whl (76.3 kB view hashes)

Uploaded Python 3

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