diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index 4577c397..026b25e6 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -b076-dirty +39b9-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 507431e0..6f2816aa 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -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,