Allow waveform_generator to not have to be initialised with the duration and sampling frequency
Compare changes
Files
3@@ -36,9 +36,7 @@ prior = tupak.gw.prior.BBHPriorSet(filename='GW150914.prior')
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
This allows the waveform generator to be given None for the sampling frequency and duration (in this state, it therefore can't be used to generate an injection). Then, when passed to the likelihood, a check if performed to see if those attributes are set. If they are None, they are set from the data, and if they disagree with the data, an error is raised.
I can't decide if this is just useless bloat, or actually useful.
Closes #127 (closed)