Below I describe a few codes I’ve written. All of these codes, as well as additional source code for individual papers, is available on Github. Please feel free to use and edit these; most should be under a permissive licence.

Sengi

Sengi (www.christopherlovell.co.uk/sengi/) is a small, fast, interactive viewer for SPS spectra. It uses Non-negative Matrix Factorisation and bilinear interpolation to reconstruct spectra for arbitrary values of age and metallicity.

Sengi

The source code is available on Github here. The code paper is currently available on the arXiv.


Spectacle

Spectacle is a python module for generating spectra from cosmological simulations. Uses Schwimmbad for flexible parallelisation.

Documentation is updated here, and the source code is available on Github.


eagle_io

eagle_io is a python module for reading outputs from the Eagle simulation in native python, with optional multithreading using Schwimmbad.

Documentation is being updated here, and the source code is here

FitDF

FitDF is a python code for fitting distribution functions through MCMC. It uses the emcee package.

Read the docs here, and find the source code here.

goa

Galaxy Overdensity Analysis (goa) is a python package for running the protocluster statistics pipeline in Lovell+18.

VAMP

Voigt Automatic MCMC Profiles (VAMP) is a python code for fitting Voigt absorption profiles using MCMC in python. It’s currently being updated to python 3 using PyMC3 - watch this space!