sick, the spectroscopic inference crank
Python TeX
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

sick, the spectroscopic inference crank

Remaining to-do items

[ ] Default behaviour for judging convergence [ ] Some refactoring and tests to add

Build Status PyPi download count image

sick is a generalised package for inferring astrophysical parameters from noisy observed spectra. Phenomena that can alter the data (e.g., redshift, continuum, instrumental broadening, outlier pixels) are modelled and simultaneously inferred with the astrophysical parameters of interest. This package is best-suited for situations where a grid of model spectra already exists, and you would like to infer model parameters given some data.


You can install sick and all of its dependencies with the following one-liner:

pip install sick --user

(Or, if you must, you can use easy_install instead of pip)


Guides, detailed examples, and documentation for sick can be found here.


Please cite Casey (2015, submitted) if you find this code useful in your research. The BibTeX entry for the paper is:

   author = {{Casey}, A.~R.},
    title = {sick: the spectroscopic inference crank},
  journal = {submitted},
     year = 2015,

This code relies on the excellent emcee package, which you should also cite. If you use any pre-cached models available through the sick download command then please ensure you cite the appropriate works that originally published the spectra.

Bug reports/feature requests

Please create an issue and be as descriptive as possible.


Contributions are warmly welcomed. To contribute to the code base please fork this repository, commit your changes, and create a pull request.


Copyright 2015, Andrew R. Casey. sick is free software released under the MIT License. See the LICENSE file for more details.