Skip to content

Commit

Permalink
remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
acorreia61201 committed Dec 10, 2024
1 parent 37103b7 commit 1cfbaa9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pycbc/inject/inject.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,17 +590,13 @@ def apply(self, strain, detector_name, f_lower=None, distance_scale=1,
# Start time is taken as twice approx waveform length with a 1s
# safety buffer
start_time = inj.tc - 2 * (inj_length + rd_buffer/2)
print('inj length calculated from ringdown estiamte:', start_time, end_time)
print('inj window with ltt buffers', t0, t1)
if end_time < t0 or start_time > t1:
print('signal lies outside of inj window')
continue
signal = self.make_strain_from_inj_object(inj, delta_t,
detector_name, f_lower=f_l,
distance_scale=distance_scale)
signal = resample_to_delta_t(signal, strain.delta_t, method='ldas')
if float(signal.start_time) > t1:
print('signal lies before window (after resampling')
continue

signal = signal.astype(strain.dtype)
Expand Down

0 comments on commit 1cfbaa9

Please sign in to comment.