Skip to content

Updates to pygwb injection infrastructure

Derek Davis requested to merge derek.davis/pygwb:injector into master

This merge requests introduces backwards incompatibility due to changed arguments

This MR introduces a few new features into the Simulator object:

  • The ability to generate simulated data that is continuous across multiple segments
  • The ability to inject CBC signals using the injection infrastructure in bilby

To create continuous segments of simulated data, one must set this option to True and provide a seed. This makes the simulation process fully reproducible, allowing for continuous segments of data.

CBC injections can now be done by providing a dictionary of CBC parameters to the relevant Simulator functions. This dictionary can be generated using bilby or by hand. Note that this MR does not add support for reading in a bilby injection file. This would be a very helpful feature for a future MR.

Due to the option to inject either a persistent GW background or a set of simulated CBC signals, it is now required that the user specificy what type of injection they are performing. This introduces backwards incompatibility as the GW background argument is no longer required.

I have also added a new tutorial that outlines how to use both of these features.

Merge request reports