Git Product home page Git Product logo

mpk_compilation's Introduction

Matter power spectrum compilation

In their 2002 paper, Max Tegmark and Mattias Zaldarriaga developed a method for compressing the information from several different types of cosmological probes into constraints on the power spectrum of matter fluctuations in the universe. In doing so, they created one of the iconic figures in cosmology, summarizing information from a range of vastly different observations and showing these were all consistent with the predicitions from the simple ΛCDM model of cosmology.

We have updated this figure in Chabanier et al. 2019 and Planck 2018: I to include recent cosmological data, and provide this repository so others can contribute to keeping this compilation up-to-date. If you have some data points you have added, please don't hesitate to contact the authors and/or submit a pull request.

mpk_compilation

Usage

This repository comes in the form a Jupyter notebook packaged inside of a Docker container, so that you don't need to manually install the (fairly complex) set of dependencies needed for this calculation. You can preview this notebook without running it here.

You can also easily run this notebook (no need to clone this repository) by installing Docker then running:

PORT=8888; docker run --rm -e PORT=$PORT -itp $PORT:$PORT marius311/mpk_compilation

You will be prompted with a link to open the notebook in your browser. You can change the port from 8888 if you wish.

If using Docker for Windows/Mac, the default Docker memory limit of 2GB is not enough for the notebook to run, see instructions for Windows and Mac on how to increase it.

Once you've run the notebook, if you want to download the figure in PDF format, return to the Jupyter notebook file screen (click the Jupyter logo), select the PDF file, and click download.

If you wish to develop this repository or to have changes to the notebook saved between sessions, you can clone this repository and run locally via:

git clone https://github.com/marius311/mpk_compilation
cd mpk_compilation
docker-compose pull # or replace "pull" with "build" to build the image locally
PORT=8888 docker-compose up

This mounts the local mpk_compilation/notebooks folder into the container so that if you modify the notebook, changes are saved to your local filesystem, and files can more easily be copied in or out of the container.

Citing

Please cite Chabanier et al. 2019 and Planck 2018: I if you make use of this figure or code.

mpk_compilation's People

Contributors

marius311 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.