Pyflation is a Python package for calculating cosmological perturbations during an inflationary expansion of the universe. Pyflation has been created by Ian Huston as part of his research activities at Queen Mary, University of London.
It is released under an open source modified BSD license and is available for download. Detailed information about the numerical calculations possible can be found in the related publications. Documentation for the code is also available.
Once installed 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.
Please note that if you use Pyflation in any published work you are kindly asked to cite the related papers.
Pyflation has the following requirements:
- Python 2.6 or higher (tested with 2.6.4)
- Numpy (tested with 1.3.0)
- Scipy (tested with 0.7.1)
- Cython (tested with 0.12.1)
- PyTables 2.2 or higher (tested with 2.2)
The pyflation.cosmographs module contains helper functions to use with the Matplotlib package but this is not a requirement of the core modules.
More Information: Downloads, Documentation, Installation, License, Related Publications
This author of this software is supported by the Science & Technology Facilities Council under grant ST/G002150/1.