arXiv GitHub version GitHub commits DOI GPLv3 license PyPI version Docs Build Status Website

pySELFI is a statistical software package which implements the Simulator Expansion for Likelihood-Free Inference (SELFI) algorithm.

For more information on the code’s purpose and features, please see its homepage.


To acknowledge the use of pySELFI in research papers, please cite its doi:10.5281/zenodo.3341588 (or for the latest version, see the badge above), as well as the paper Leclercq et al. (2019):

Primordial power spectrum and cosmology from black-box galaxy surveys
F. Leclercq, W. Enzi, J. Jasche, A. Heavens
    author = {{Leclercq}, Florent and {Enzi}, Wolfgang and {Jasche}, Jens and {Heavens}, Alan},
    title = "{Primordial power spectrum and cosmology from black-box galaxy surveys}",
    journal = {\mnras},
    keywords = {methods: statistical, cosmological parameters, large-scale structure of Universe, Astrophysics - Cosmology and Nongalactic Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
    year = "2019",
    month = "Dec",
    volume = {490},
    number = {3},
    pages = {4237-4253},
    doi = {10.1093/mnras/stz2718},
    archivePrefix = {arXiv},
    eprint = {1902.10149},
    primaryClass = {astro-ph.CO},
    adsurl = {},
    adsnote = {Provided by the SAO/NASA Astrophysics Data System}