English

PyTransport: A Python package for the calculation of inflationary correlation functions

Cosmology and Nongalactic Astrophysics 2017-08-25 v2 High Energy Physics - Theory

Abstract

PyTransport constitutes a straightforward code written in C++ together with Python scripts which automatically edit, compile and run the C++ code as a Python module. It has been written for Unix-like systems (OS X and Linux). Primarily the module employs the transport approach to inflationary cosmology to calculate the tree-level power-spectrum and bispectrum of user specified models of multi-field inflation, accounting for all sub and super-horizon effects. The transport method we utilise means only coupled differential equations need to be solved, and the implementation presented here combines the speed of C++ with the functionality and convenience of Python. This document details the code and illustrates how to use it with a worked example. It has been updated to be a companion to the second version of the code, PyTransport 2.0, which includes functionality to deal with models of inflation with a curved field space metric.

Keywords

Cite

@article{arxiv.1609.00381,
  title  = {PyTransport: A Python package for the calculation of inflationary correlation functions},
  author = {David J. Mulryne and John W. Ronayne},
  journal= {arXiv preprint arXiv:1609.00381},
  year   = {2017}
}

Comments

21 pages, 5 figures. Version 2 has been updated to be a companion to the new version of PyTransport, with additional author to reflect their contribution

R2 v1 2026-06-22T15:38:04.252Z