Skip to main content

An interactive visualizer to help explore the results of running MCMC posterior sampling on a cosmological model.

Project description

inviz

This tool helps you explore the results of running MCMC posterior sampling on your cosmological model. Selecting a point on the sample distribution will automatically run CLASS on that sample and display the output.

Installation

Installation is straightforward with pip:

python -m pip install inviz

Or, if you want to test the latest changes, you can clone the repository with

git clone https://github.com/wen-jams/inviz
cd inviz
python setup.py install

Dependencies

Currently, only Python versions $\geq$ 3.8 and $<$ 3.11 are supported. You will also need the Cosmology Boltzmann code CLASS (either the default or your own modified version). Follow the instructions here to install classy, the Python wrapper for CLASS.

Getting Started

Test Installation

To verify that inviz and all the dependencies have been installed correctly, open a Jupyter Notebook and run:

from inviz import *
hv.extension('bokeh')
pn.extension()

If no errors appear, all the dependencies were installed correctly and we're ready to start visualizing!

Example

Download and run the tutorial notebook in the tutorials folder to see an example of how inviz can be used.

The result should look like this: example output

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

inviz-0.0.6.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

inviz-0.0.6-py3-none-any.whl (5.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