diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 7c42461f..90f0e370 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -f7af-dirty +530a-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 5ba3801d..5d27d981 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -997,7 +997,7 @@ class PickDlg(QDialog): # remove mean noise level from waveforms for trace in data: t = prepTimeAxis(trace.stats.starttime - stime, trace) - inoise = getnoisewin(t, ini_pick-stime_diff, noise_win, gap_win) + inoise = getnoisewin(t, ini_pick, noise_win, gap_win) trace = demeanTrace(trace=trace, window=inoise) self.setXLims([ini_pick - x_res, ini_pick + x_res]) @@ -1049,7 +1049,7 @@ class PickDlg(QDialog): # prepare plotting of data for trace in data: t = prepTimeAxis(trace.stats.starttime - stime, trace) - inoise = getnoisewin(t, ini_pick-stime_diff, noise_win, gap_win) + inoise = getnoisewin(t, ini_pick, noise_win, gap_win) trace = demeanTrace(trace, inoise) # scale waveform for plotting