Skip to main content

A python implementation of the Simulator Expansion for Likelihood-Free Inference (SELFI) algorithm

Project description


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

Simulator Expansion for Likelihood-Free Inference (SELFI): a python implementation.


The code's homepage is The documentation is available on readthedocs at Limited user-support may be asked from the main author, Florent Leclercq.



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
arXiv:1902.10149 [astro-ph.CO] [ADS] [pdf]

    author = {{Leclercq}, Florent and {Enzi}, Wolfgang and {Jasche}, Jens and {Heavens}, Alan},
    title = "{Primordial power spectrum and cosmology from black-box galaxy surveys}",
    journal = {arXiv e-prints},
    keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics, Astrophysics - Instrumentation and Methods for Astrophysics},
    year = "2019",
    month = "Feb",
    eid = {arXiv:1902.10149},
    pages = {arXiv:1902.10149},
    archivePrefix = {arXiv},
    eprint = {1902.10149},
    primaryClass = {astro-ph.CO},
    adsurl = {},
    adsnote = {Provided by the SAO/NASA Astrophysics Data System}


This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. By downloading and using pySELFI, you agree to the LICENSE, distributed with the source code in a text file of the same name.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyselfi, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size pyselfi-1.2-py3-none-any.whl (52.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyselfi-1.2.tar.gz (27.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page