Skip to main content

Linear Simulation Based Inference

Project description

lsbi:

Linear Simulation Based Inference

Author:

Will Handley

Version:
0.0.0
Homepage:

https://github.com/handley-lab/lsbi

Documentation:

http://lsbi.readthedocs.io/

Build Status Test Coverage Status Documentation Status PyPi location Permanent DOI for this release License information

lsbi

It can be viewed as an extension to the Planck legacy archive across models and datasets

It provides mcmc and nested sampling chains, allowing parameter estimation, model comparison and tension quantification.

Current functionality includes:

UNDER CONSTRUCTION

Features

Installation

lsbi can be installed via pip

pip install lsbi

or via the setup.py

git clone https://github.com/handley-lab/lsbi
cd lsbi
python -m pip install .

You can check that things are working by running the test suite:

export MPLBACKEND=Agg     # only necessary for OSX users
python -m pytest
flake8 lsbi tests
pydocstyle --convention=numpy lsbi

Dependencies

Basic requirements:

Documentation:

Tests:

Documentation

Full Documentation is hosted at ReadTheDocs. To build your own local copy of the documentation you’ll need to install sphinx. You can then run:

python -m pip install ".[all,docs]"
cd docs
make html

and view the documentation by opening docs/build/html/index.html in a browser. To regenerate the automatic RST files run:

sphinx-apidoc -fM -t docs/templates/ -o docs/source/ lsbi/

Citation

If you use lsbi to generate results for a publication, please cite as:

Handley et al, (2024) lsbi: Linear Simulation Based Inference.

or using the BibTeX:

@article{lsbi,
    year  = {2023},
    author = {Will Handley et al},
    title = {lsbi: Linear Simulation Based Inference},
    journal = {In preparation}
}

Contributing

There are many ways you can contribute via the GitHub repository.

  • You can open an issue to report bugs or to propose new features.

  • Pull requests are very welcome. Note that if you are going to propose major changes, be sure to open an issue for discussion first, to make sure that your PR will be accepted before you spend effort coding it.

  • Adding models and data to the grid. Contact Will Handley to request models or ask for your own to be uploaded.

Questions/Comments

Project details


Download files

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

Source Distribution

lsbi-0.0.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

lsbi-0.0.0-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page