This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Access modules for the MultiNest, APEMoST, Cuba and PolyChord integration libraries

Project Description

This library provides programmatic access to MultiNest and PyCuba.

What is MultiNest?

MultiNest is a program and a sampling technique. As a Bayesian inference technique, it allows parameter estimation and model selection. (find out more in the MultiNest paper, http://arxiv.org/abs/0809.3437, or in a classic MCMC sampler, http://apemost.sf.net/ ). Recently, MultiNest added Importance Nested Sampling (INS, see http://arxiv.org/abs/1306.2144) which is now also supported.

The efficient Monte Carlo algorithm for sampling the parameter space is based on nested sampling and the idea of disjoint multi-dimensional ellipse sampling.

For the scientific community, where Python is becoming the new lingua franca (luckily), I provide an interface to MultiNest.

What does PyMultiNest do?

PyMultiNest

  • provides an easy-to-use interface to MultiNest
  • provides integration with your existing scientific Python code (numpy, scipy)
  • allows you to write Prior & LogLikelihood functions in Python.

PyMultiNest can

  • Plot and visualize MultiNests progress (watch.ProgressWatcher, watch.ProgressPlotter). This is still fairly basic, contributions and ideas are welcome)
  • Easy plotting, visualization and summary of MultiNest results.

The plotting can be run on existing MultiNest output, and when not using PyMultiNest for running MultiNest.

Code contributions are welcome! Contact me (buchner.johannes [ät] gmx.at).

How can I use MultiNest with Python?

Look at the documentation available at http://johannesbuchner.github.com/PyMultiNest/index.html

Citing PyMultiNest

See the documentation at http://johannesbuchner.github.com/PyMultiNest/index.html

What is PyAPEMoST?

Similarly to PyMultiNest, it is an access module for a Bayesian inference engine. However, APEMoST is a Markov Chain Monte Carlo engine. See the documentation.

What is PyCuba?

Cuba (http://www.feynarts.de/cuba/, https://github.com/JohannesBuchner/cuba) is a multidimensional numerical integration library for low dimensions. PyCuba allows integration of Python functions, providing an advanced alternative to the basic functions provided in scipy.integrate.

In the Bayesian sense, it is possible to use Cuba for model selection.

Q: Python callback functions are too slow!

If you really identified that your callback functions are too slow, even when using the usual tricks (numpy, etc.), you can implement and compile them as C functions.

You still have the neat python interface (default parameters, etc.), but achieve full execution speed, as only native code is executed while MultiNest runs.

Release History

Release History

This version
History Node

2.2

History Node

2.1

History Node

1.9

History Node

1.8

History Node

1.6

History Node

1.5

History Node

1.4

History Node

1.3

History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.4

History Node

0.3

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pymultinest-2.2-py2.7.egg (70.8 kB) Copy SHA256 Checksum SHA256 2.7 Egg Apr 20, 2017
pymultinest-2.2-py3.4.egg (70.1 kB) Copy SHA256 Checksum SHA256 3.4 Egg Apr 20, 2017
pymultinest-2.2.tar.gz (39.3 kB) Copy SHA256 Checksum SHA256 Source Apr 20, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting