Skip to main content

Implementation of a Python MCMC gibbs-sampler with adaptive stepping

Project description


Python 3.8 PyPI version

Implementation of a Python MCMC gibbs-sampler with adaptive stepping.

While this is a simple MCMC algorithm, it is robust and stable and well suited to high dimensional problems with many degrees of freedom and very sharp likelihood features. For instance kinematic modelling of datacubes with this code has been found to be orders of magnitude quicker than using more advanced affine-invariant MCMC methods.


You can install GAStimator with pip install gastimator. Alternatively you can download the code here, navigate to the directory you unpack it too, and run python install.

It requires the following modules:

  • numpy
  • matplotlib
  • plotbin
  • joblib


To get you started, see the walk through here:

Author & License

Copyright 2019 Timothy A. Davis

Built by Timothy A. Davis <>. Licensed under the GNU General Public License v3 (GPLv3) license (see LICENSE).

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

gastimator-0.5.1.tar.gz (27.9 kB view hashes)

Uploaded Source

Built Distribution

gastimator-0.5.1-py3-none-any.whl (26.0 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