[add] linear detrend for manual picking...
This commit is contained in:
@@ -1 +1 @@
|
||||
b076-dirty
|
||||
39b9-dirty
|
||||
|
||||
@@ -2016,6 +2016,7 @@ class PickDlg(QDialog):
|
||||
if filterphase:
|
||||
filteroptions = self.getFilterOptions(filterphase).parseFilterOptions()
|
||||
try:
|
||||
data.detrend('linear')
|
||||
data.filter(**filteroptions)
|
||||
#wfdata.filter(**filteroptions)# MP MP removed filtering of original data
|
||||
except ValueError as e:
|
||||
@@ -2095,6 +2096,7 @@ class PickDlg(QDialog):
|
||||
wfdata = self.getWFData().copy().select(channel=channel)
|
||||
if filteroptions:
|
||||
try:
|
||||
wfdata.detrend('linear')
|
||||
wfdata.filter(**filteroptions)
|
||||
except ValueError as e:
|
||||
self.qmb = QtGui.QMessageBox(QtGui.QMessageBox.Icon.Information,
|
||||
|
||||
Reference in New Issue
Block a user