Skip to content

Tutorial on hierarchical Bayesian analysis of gravitational wave source populations for the ICERM workshop "Scientific Machine Learning for Gravitational Wave Astronomy"

Notifications You must be signed in to change notification settings

afarah18/HBA-for-GWs-tutorial

Repository files navigation

Hierarchical Bayesian Analysis for CBC populations: a tutorial

A brief tutorial on hierarchical Bayesian analysis of gravitational wave source populations, made for the ICERM workshop "Scientific Machine Learning for Gravitational Wave Astronomy." The tutorial is contained within this notebook: intro_HBA_tutorial.ipynb, and all the data you need is in inputs/.

setup

local

To run this tutorial on your local machine, clone this repository and set up the conda environment with

git clone https://github.com/afarah18/HBA-for-GWs-tutorial.git
cd HBA-for-GWs-tutorial
conda env create -f environment.yml

Then, open the notebook and select the icerm_population_tutorial conda environenment as your kernel.

Note: you have everything in requirements.txt installed in a different environment, you can skip the conda environment creation and just use your own environment.

Google colab

Alternatively, you can run on google colab and potentially make use of GPU or TPU speedups. Open the notebook in google colab here: Open In Colab

Then, connect to a runtime (try to get a GPU or TPU!) and uncomment the lines in the first cell.

answers

Once you're done, you can check your work by looking at intro_HBA_tutorial_filled_in.ipynb

About

Tutorial on hierarchical Bayesian analysis of gravitational wave source populations for the ICERM workshop "Scientific Machine Learning for Gravitational Wave Astronomy"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published