PESummary is a python package to analyse, visualise and distribute posterior samples collected from any Bayesian inference code.
PESummary is one of the main workhorses of the LIGO/Virgo/KAGRA collaboration. It is used by the PE group to analyse and distribute posterior samples. It is now being used to distribute posterior samples to the public. Easily installable with pip
and conda
and distributed in igwn.
Repo: https://git.ligo.org/lscsoft/pesummary/, mattermost: PESummary-help
PESummary is primary used through command line tools (summarypages
, summarycombine
, summarycombine_posteriors
,…) but specific plots etc. can also be generated from within a python shell:
>>> from pesummary.io import read
>>> f = read(“albert.einstein@ldas-pcdev2.ligo.caltech.edu:/home/.../IGWN...GW200322_091133....h5”)
>>> samples = f.samples_dict
>>> fig = samples.plot(“mass_1”, type=”hist”)
Tutorials
Aside from docs, 2 specific tutorials currently exist (OLD): - O3 tutorial: pe/tutorials/pe_rota/pesummary.md - O4 tutorial: pe/tutorials/O4_tutorials/create_summarypage.md Would like to create additional tutorials detailing e.g.: a) The other pesummary command line tools: Input/suggestions welcome b) The subdominant summarypages options: Input/suggestions welcome