-
Notifications
You must be signed in to change notification settings - Fork 22
Examples
Elise Jennings edited this page Aug 24, 2016
·
11 revisions
Ipython notebooks and all the code needed to run the following examples are provided in the examples directory. The Gaussian example demonstrates how to use astroABC in serial or in parallel and the code to run this can be found in the examples directory.
If you have downloaded the repo you can run the multiGaussian example using
$> python gaussian.py gaussian_params.ini
The supernovae example is a simple physical example which compares standard MCMC and ABC approach and is meant as a teaching resource.
In general to use the astroABC sampler you need to provide:
- a data set or summary statistic of the data set
- a forward simulation model of the data given input parameters from the sampler
- a distance metric method.
Copyright 2016 Elise Jennings