Skip to content
Snippets Groups Projects

Allow waveform_generator to not have to be initialised with the duration and sampling frequency

Merged Gregory Ashton requested to merge simplify-wfg into master

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)

Merge request reports

Pipeline #24186 passed

Pipeline passed for e481d05d on simplify-wfg

Test coverage 100.00% (0.00%) from 1 job
Approval is optional

Merged by Gregory AshtonGregory Ashton 6 years ago (Jul 4, 2018 5:22am UTC)

Merge details

Pipeline #24221 passed

Pipeline passed for 3ea94125 on master

Test coverage 100.00% (0.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading