GithubHelp home page GithubHelp logo

bayesianastronomy's Introduction

Bayesian Methods in Astronomy

DOI

Materials for the Bayesian Methods in Astronomy workshop at the 227th American Astronomical Society meeting.

View all the content here

Requirements

For this workshop we will be using Python, and in particular Python version 3.4-3.5. In addition, we will make use of the following packages, along with their dependencies.

Note that familiarity with the following packages is considered a pre-requisite to the workshop. We will not be spending time helping people with setting up or installing these packages.

  • NumPy (Numerical Python) for efficient manipulation of array-based data
  • SciPy (Scientific Python) for optimization and other routines
  • Pandas for reading data files into arrays
  • Matplotlib for scientific visualization
  • IPython notebook as an interactive computing environment

To install these dependencies, I highly recommend using the miniconda Python installer (be sure to download the Python 3.5 version of miniconda). Once this is installed, run the following commands in your terminal:

$ conda install numpy scipy pandas matplotlib ipython-notebook pip

On top of these prerequisites, we will be introducing two relatively lightweight packages designed to enable efficient Bayesian computation in Python. They are:

  • emcee for Markov Chain Monte Carlo sampling of Bayesian posteriors
  • corner.py for visualization of multidimensional posteriors

These can be installed via the Python Package Index, using the pip command:

$ pip install emcee
$ pip install corner

Workshop Material

All the material for this workshop, as well as the exercises we will work on together, is contained in IPython notebooks within this repository. Please clone this repository (if you are familiar with Git) or download the zip file (link is to the right on the main repository page) to download this content; note that I will likely update the material in the days prior to the workshop, so please plan to git-pull or re-download the zip file the morning of the workshop.

bayesianastronomy's People

Contributors

jakevdp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bayesianastronomy's Issues

ValueError: Contour levels must be increasing

I'm going through the tutorial, but I'm stuck on the section "Simple Bayesian Modeling" because running the solution code for the Breakout exercise gives an error "ValueError: Countour levels must be increasing". I'm not an experienced programmer, so I could use some help getting this demonstration code to run.

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.