Code and examples for "Mining Gravitational-wave Catalogs To Understand Binary Stellar Evolution: A New Hierarchical Bayesian Framework" by Stephen Taylor and Davide Gerosa.
If you use this code for your research, please cite this paper.
Users can open the included jupyter notebook using by typing jupyter notebook results_toymodel.ipynb in a terminal. Individual cells can be executed by pressing Shift + Enter.
The following 4 packages are core, and can be downloaded as a bundle with Anaconda.
- python
- jupyter
- numpy
- scipy
- emcee [for sampling]
- chainconsumer [for plotting marginalized posterior distributions]
- tensorly [for multi-linear PCA tests]