PrimordialPy: A Python library for single-field inflation, primordial black holes, and scalar-induced gravitational waves
Flavio Pineda
Abstract
We present PrimordialPy, an open-source Python library designed to compute the cosmological predictions of arbitrary canonical single-field inflationary models. By numerically solving the background dynamics and the curvature perturbation equation, the package evaluates the primordial power spectrum of scalar and tensor perturbations at all relevant scales. Furthermore, it automatically computes the resulting mass fraction and abundance of Primordial Black Holes (PBHs), as well as the associated spectrum of scalar-induced gravitational waves (SIGWs). Users can seamlessly implement any canonical single-field model by simply specifying the inflaton potential V(ϕ) and its parameters. Designed to be modular, efficient, and highly accessible, PrimordialPy comes with comprehensive documentation, validation benchmarks, and practical examples, making it a versatile tool for both research and education in early-universe cosmology.
Create a lesson
Related papers
Primordial Black Holes and Induced Gravitational Waves from Inflation with History-Dependent Effective Dissipation
Shared title terminology · Narges Rashidi
Warm inflation beyond the Gaussian limit: primordial black holes and induced gravitational waves
Shared title terminology · Mayukh R. Gangopadhyay, Nilanjana Kumar
Primordial black holes and gravitational waves from aligned axion inflation
Shared title terminology · Nadir Ijaz
Scalar-Induced Gravitational Waves Probing Phase Transitions in the Standard Model and Beyond
Shared title terminology · Peizhi Du, Xiang-Xi Zeng, Jiahang Zhong
How tightly can PBH abundance information constrain scalar-induced gravitational waves?
Shared title terminology · Boliang Yu, Ruixin Zhou, Zi-Yu Tang
All Dark Matter as Primordial Black Holes: a Gravitational-Wave Test
Shared title terminology · A. Ianniccari, A. J. Iovino, G. Perna et al.