Skip to content

Commit

Permalink
Write variable window length to log in ssp_process_traces._define_sig…
Browse files Browse the repository at this point in the history
…nal_and_noise_windows function.
  • Loading branch information
krisvanneste authored and claudiodsf committed Feb 28, 2024
1 parent b2016d3 commit df61f0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sourcespec/ssp_process_traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ def _define_signal_and_noise_windows(config, trace):
win_length = win_length_p
elif config.wave_type[0] == 'S':
win_length = win_length_s
if config.variable_win_length_factor:
logger.info(f'{trace.id}: window length {win_length:.3f} seconds ')
if config.noise_pre_time == 0:
noise_pre_time = win_length
else:
Expand Down

0 comments on commit df61f0e

Please sign in to comment.