Skip to main content

Proximal Markov Chain Monte Carlo

Project description

PyPI version Documentation Status test status DOI

Python ProxMCMC

Installation

Available on pypi

pip install pxmcmc

If installing from source it recommended to use poetry

git clone https://github.com/auggiemarignier/pxmcmc
cd pxmcmc
poetry install
source <ENVIRONMENT_LOCATION>/bin/activate
pytest

Documentation

Full documentation available on readthedocs.

Examples

Examples of how to use this code with sample data are found in the experiments directory. Please start with the earthtopography example, which will quickly run something to get you going!

cd experiments/earthtopography
python main.py --infile ETOPO1_Ice_hpx_256.fits
python plot.py myula_synthesis_<timestamp>.hdf5 .

The phasevel and weaklensing examples replicate the work shown in this paper.

Contributing

Contributions to the package are encouraged! If you wish to contribute, are experiencing problems with the code or need further support, please open an issue to start a discussion. Changes will be integrated via pull requests.

CITATION

If you use this package in your work please cite the following papers

Marignier (2023) PxMCMC: A Python package for proximal Markov Chain Monte Carlo, Journal of Open Source Software, 0(0), 5582. https://doi.org/10.xxxxxx

Marignier et al., Posterior sampling for inverse imaging problems on the sphere in seismology and cosmology, RAS Techniques and Instruments, Volume 2, Issue 1, January 2023, Pages 20–32, https://doi.org/10.1093/rasti/rzac010

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

pxmcmc-1.0.1.tar.gz (30.0 kB view hashes)

Uploaded Source

Built Distribution

pxmcmc-1.0.1-py3-none-any.whl (32.8 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