Skip to main content

out-of-core processing and plotting of MultiNest output

Project description

barrett is a software package meant to replace getplots in the [SuperBayeS](http://superbayes.org/) package. Main differential feature is out-of-core processing so the code can handle very large datasets.

Specific technologies: HDF5, and Python (h5py, numpy, matplotlib).

Usage

barrett is split into four submodules:

  • barrett.data implements methods for modifying data (e.g. log, change units) or calculate depended variables (e.g. mean squark mass)

  • barrett.posterior is for calculating and plot the one or two dimensional marginal posterior distribution.

  • barrett.profilelikelihood is for calculating and plot the one or two dimensional profile likelihood.

  • barrett.util contain various utility functions most notable convert_chain() which converts the plain text MultiNest output to the HDF5 format used by barrett.

As for parallelisation; writing to the same hdf5 file is strongly discouraged. Reading the file is however perfectly fine. So posterior/profilelikelihood module is perfectly parallelisable.

The code is not parallelised, instead I recommend using Python’s multiprocessing module to producing several plots asynchronously. In most system tested the analysis is CPU bound, your mileage may vary.

Example

Please check the example directory for plot.py for an, you guessed it, example.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

barrett-0.1.0-py3.5.egg (17.1 kB view hashes)

Uploaded Source

barrett-0.1.0-py3-none-any.whl (9.1 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