Simplify wg redundant code
All threads resolved!
All threads resolved!
Compare changes
- MoritzThomasHuebner authored
+ 5
− 6
@@ -123,15 +123,14 @@ class WaveformGenerator(object):
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 1 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.
There is a lot of duplicate code in frequency_domain_strain
and time_domain_strain
that I eliminated. This also reduces the size of the methods and updates the test suite for the module. It now also has an identity expression as a default for parameter_conversion
.