Skip to content
DraconiticResearch
Search Sources API
201,818 studies31 sourcesUpdated 51 min ago
PreprintCC BY 4.0arXiv

PrimordialPy: A Python library for single-field inflation, primordial black holes, and scalar-induced gravitational waves

Abstract

We present \texttt{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, \texttt{PrimordialPy} comes with comprehensive documentation, validation benchmarks, and practical examples, making it a versatile tool for both research and education in early-universe cosmology.

Related

  1. Primordial black holes and induced gravitational waves from localized features in DBI inflation
    Narges Rashidi
    arXivPreprintarXiv licenceFull textCosmologyHigh-energy & particle physicsarXiv
  2. Primordial Black Holes and Induced Gravitational Waves from Inflation with History-Dependent Effective Dissipation
    Narges Rashidi
    arXivPreprintarXiv licenceFull textCosmologyHigh-energy & particle physicsarXiv
  3. Warm inflation beyond the Gaussian limit: primordial black holes and induced gravitational waves
    Mayukh R. Gangopadhyay, Nilanjana Kumar
    arXivPreprintCC0Full textCosmologyHigh-energy & particle physicsarXiv
  4. Primordial black holes and gravitational waves from aligned axion inflation
    Nadir Ijaz
    arXivPreprintarXiv licenceFull textCosmologyHigh-energy & particle physicsarXiv
  5. Lukewarm inflation, primordial black holes and gravitational waves
    Paulo B. Ferraz, António Torres Manso, João G. Rosa
    arXivPreprintCC BY 4.0Full textCosmologyGravitation & general relativityarXiv
BibTeX
@misc{pineda2026primordialpy,
  title = {{PrimordialPy: A Python library for single-field inflation, primordial black holes, and scalar-induced gravitational waves}},
  author = {Flavio Pineda},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.05566},
  eprint = {2611.05566},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.05566},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - PrimordialPy: A Python library for single-field inflation, primordial black holes, and scalar-induced gravitational waves
AU  - Flavio Pineda
PY  - 2026
DA  - 2026/11/03
PB  - arXiv
DO  - 10.48550/arxiv.2611.05566
UR  - https://arxiv.org/abs/2611.05566
AB  - We present \texttt{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, \texttt{PrimordialPy} comes with comprehensive documentation, validation benchmarks, and practical examples, making it a versatile tool for both research and education in early-universe cosmology.
ER  -