Installation

Spectrum_overload is currently available from github.

Navigate to where you want to put files. Then Download:

with git:

$ git clone https://github.com/jason-neal/spectrum_overload.git

To install, run:

$ cd spectrum_overload
$ python setup.py install

# Or:

$ cd spectrum_overload
$ pip install .

# Or, for an editable installation:

$ cd spectrum_overload
$ pip install -e .

The plan is to have it available via pypi someday in the future.:

# Bug me about this.
$ pip install spectrum-overload

That day is not today…

If you have any issues with installation of spectrum_overload please open an issue so it can be resolved.

Requirements

The main requirements are

If you are needing to use this package you probably have these installed already…

Unfortunately pyastronomy cannot be added to the requirements.txt alongside numpy due to issue #22 with the setup dependency of numpy in pyastronomy. If you do not have it installed already then run:

$ pip install pyastronomy

Other requirements are needed for running the pytest test suite. If you want to try run the tests, run:

$ python setup.py test

after normal installation.

These other dependencies that you may need are

  • pytest-runner
  • hypothesis
  • pytest
  • pytest-cov
  • python-coveralls
  • coverage

Editable Installation

If you want to modify spectrum_overload you can instead install it like:

$ python setup.py develop