[update] add detrend/taper to 3comp filter (better only one function!)

This commit is contained in:
Marcel Paffrath 2018-01-10 14:50:37 +01:00
parent 39e048cf2f
commit a76dd06497
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
440c-dirty
7c61-dirty

View File

@ -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():