Pyflation calculates cosmological perturbations during an inflationary expansion of the universe. The modules in the pyflation Python package can be used to run simulations of different scalar field models of the early universe. The main classes are contained in the cosmomodels module and include simulations of background fields and first order and second order perturbations. The sourceterm package contains modules required for the computation of the term required for the evolution of second order perturbations.
Alongside the Python package, the bin directory contains Python scripts which can run first and second order simulations. A helper script called pyflation-qsubstart.py sets up a full second order run (including background, first order and source calculations) to be used on queueing system which contains the qsub executable (e.g. a Rocks cluster).
https://ui.adsabs.harvard.edu/abs/2012PhRvD..85f3507H , https://ui.adsabs.harvard.edu/abs/2011JCAP...10..029H, and/or https://ui.adsabs.harvard.edu/abs/2009JCAP...09..019H