Skip to content

Update gwpopulation_pipe/data_collection.py, gwpopulation_pipe/parser.py

Changes to the data collection stage. Note that this MR may be targeting an incorrect fork if this fork is intended to remain the same to reproduce GWTC3 results!

Changes:

  • User can provide a seed argument in the ini file so that if they do multiple runs, the same samples from the PE posteriors are used. If this argument is not provided, no seed is used.
  • User can specify the number of samples per posterior to use, rather than downsampling each posterior to the length of the shortest posterior dataset.
  • There may exist other waveform approximant runs in the gwtc1 PE releases, so when these data are being loaded in it will no longer assume that "Overall" is the approximant to load in. By specifying "Overall" (as the last argument) in preferred-labels, it will make sure this is the approximant that is loaded.

Merge request reports

Loading