Accessing our posterior samples

As part of this data release, we include 3 files,

  • Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5
    • This file contains posterior samples obtained in our analysis of GW200129_065458. We store the posterior samples with the label C01:NRSur7dq4.

  • Nature.xxx.yyy.2022-v1-GW200129_065458_VaryingDetectorNetwork.h5
    • This file contains posterior samples obtained in our analysis of GW200129_065458 for different detector networks. The HLV dataset presents the posterior samples obtained for a LIGO-Hanford, LIGO-Livingston and Virgo detector network, HV for a LIGO-Hanford and Virgo detector network and LV for a LIGO-Livingston and Virgo detector network.

  • Nature.xxx.yyy.2022-v1-GW200129_065458_ZeroNoiseInjection.h5
    • This file contains posterior samples obtained when analysing a theoretical signal from a precessing binary with our best-estimate parameters of GW200129_065458 (i.e. those with the maximum likelihood in our analysis) as it would be observed in a network of detectors with the same frequency-dependent sensitivity, but with no noise. The HLV dataset presents the posterior samples obtained for a LIGO-Hanford, LIGO-Livingston and Virgo detector network, HV for a LIGO-Hanford and Virgo detector network and LV for a LIGO-Livingston and Virgo detector network.

Note

All files contain posterior samples obtained with the NRSur7dq4 waveform model.

Our posterior samples are stored on Zenodo. To download our posterior samples,

we recommend using PESummary We can download and read e.g. Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5 with the following,

from pesummary.core.fetch import download_and_read_file
data = download_and_read_file(
    "https://zenodo.org/api/files/51eb1ac0-f3ba-41a2-8c1a-2c5107734d4e/Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5",
    read_file=True,
    delete_on_exit=False,
    outdir="./",
    download_kwargs={"timeout": 60},
)

The file is then downloaded into your current working directory and the posterior samples can be accessed via the data object. To download all files in this data release, simply loop over the file names above.

we recommend using zenodo_get:

pip install zenodo_get
zenodo_get 6672460

This will download all files included in this data release. To download a single file, we recommend using cURL,

curl https://zenodo.org/api/files/51eb1ac0-f3ba-41a2-8c1a-2c5107734d4e/Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5 -o ./Nature.xxx.yyy.2022-v1-GW200129_065458_PEDataRelease.h5

Both sets of posterior samples are formatted using PESummary.