From a76dd06497bdf4e4fab7133eb4ced9922c2e94be Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 10 Jan 2018 14:50:37 +0100 Subject: [PATCH] [update] add detrend/taper to 3comp filter (better only one function!) --- pylot/RELEASE-VERSION | 2 +- pylot/core/util/widgets.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 8c4410a4..5f884094 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -440c-dirty +7c61-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index c339db5d..679ec36f 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -2190,6 +2190,8 @@ class PickDlg(QDialog): # filtoptions = filtoptions.parseFilterOptions() if filtoptions is not None: + data.detrend('linear') + data.taper(0.02, type='cosine') data.filter(**filtoptions) title += '({} filtered - '.format(filtoptions['type']) for key, value in filtoptions.items():