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 (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.
Spectacle is a python module for generating spectra from cosmological simulations. Uses Schwimmbad for flexible parallelisation.
eagle_io is a python module for reading outputs from the Eagle simulation in native python, with optional multithreading using Schwimmbad.
FitDF is a python code for fitting distribution functions through MCMC. It uses the emcee package.
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!