dingo-gw / dingo

Dingo: Deep inference for gravitational-wave observations
MIT License
51 stars 16 forks source link

Added saving of psds as external .txt files #244

Closed nihargupte-ph closed 1 month ago

nihargupte-ph commented 2 months ago

In order to run summarypages on dingo and not have the "preliminary" watermark, one has to specify the PSD explicitly. However, with dingo_pipe, the PSD is saved in an event dataset which is not ingestable by bilby or pesummary.

This PR additionally saves the PSD as a .txt file which can be passed to pesummary. An example CLI to pesummary would be

summarypages --webdir ./outdir_GW150914/webpage --samples ./outdir_GW150914/dingo_importance_sampling.hdf5 --config ./outdir_GW150914/GW150914_config_complete.ini --gw --disable_expert --disable_interactive --no_ligo_skymap --psd H1:./outdir_GW150914/H1_psd.txt L1:./outdir_GW150914/L1_psd.txt
nihargupte-ph commented 2 months ago

@stephengreen @mpuerrer