Skip to content

Commit

Permalink
v23_RELEASE_BRANCH: Use lalsim for TD_from_FD (gwastro#4530)
Browse files Browse the repository at this point in the history
* Waveform fix

* A bit more flexible

Apparently the tests need a TD version of TaylorF2!
  • Loading branch information
spxiwh authored and GarethCabournDavies committed Jul 24, 2024
1 parent 3d9f7e2 commit 877d567
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pycbc/waveform/waveform.py
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,8 @@ def td_fd_waveform_transform(approximant):
# We can also make a td version of this
# This will override any existing approximants with the same name
# (ex. IMRPhenomXX)
cpu_td[approximant] = get_td_waveform_from_fd
if approximant not in td_apx:
cpu_td[approximant] = get_td_waveform_from_fd

for apx in copy.copy(_filter_time_lengths):
td_fd_waveform_transform(apx)
Expand Down

0 comments on commit 877d567

Please sign in to comment.