Skip to content

Conversation

@lorenzopompili00
Copy link
Contributor

@lorenzopompili00 lorenzopompili00 commented Dec 22, 2025

I was trying to plot some waveform reconstructions using plot_interferometer_waveform_posterior for some eccentric PE runs using the new GWSignalWaveformGenerator, and I realized it is currently not working correctly.

The reason is that the arguments required to instantiate GWSignalWaveformGenerator are not saved in the likelihood metadata, and are not passed to the waveform generator when it is instantiated in plot_interferometer_waveform_posterior here.

A fix is to save and pass these extra arguments whenever the waveform generator is GWSignalWaveformGenerator. I have added this via a waveform_generator_constructor_dict, inspired by this bilby_pipe merge request. Let me know if you have any other preferences for handling this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants