Skip to content

Commit 32030e0

Browse files
authored
changed_apply_fd_time_shift_to_apply_fseries_time_shift_in_FDomainDetFrameTwoPolNoRespGenerator (gwastro#4825)
* changed_apply_fd_time_shift_to_apply_fseries_time_shift_in_FDomainDetFrameTwoPolNoRespGenerator * change in generate function * deleted_unnecessary_files * removing_whitespace
1 parent d520f7f commit 32030e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pycbc/waveform/generator.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
from pycbc import transforms
3838
from pycbc.types import TimeSeries
3939
from pycbc.waveform import parameters
40-
from pycbc.waveform.utils import apply_fd_time_shift, taper_timeseries, \
41-
ceilpow2
40+
from pycbc.waveform.utils import apply_fseries_time_shift, taper_timeseries, \
41+
ceilpow2, apply_fd_time_shift
4242
from pycbc.detector import Detector
4343
from pycbc.pool import use_mpi
4444
import lal as _lal
@@ -927,8 +927,8 @@ def generate(self, **kwargs):
927927
# happens at the end of the time series (as they are for f-domain),
928928
# so we add an additional shift to account for it
929929
tshift = 1./df - abs(hp._epoch)
930-
hp = apply_fd_time_shift(hp, tshift, copy=True)
931-
hc = apply_fd_time_shift(hc, tshift, copy=True)
930+
hp = apply_fseries_time_shift(hp, tshift, copy=True)
931+
hc = apply_fseries_time_shift(hc, tshift, copy=True)
932932

933933
hp._epoch = hc._epoch = self._epoch
934934
h = {}

0 commit comments

Comments
 (0)