@ -523,7 +523,7 @@ def transformdata_1d(x, f, plotflag):
transform_id = np.mod(plotflag // 10, 10)
transform = [lambda f, x: f,
lambda f, x: 1 - f,
cumtrapz(f, x),
cumtrapz,
lambda f, x: 1 - cumtrapz(f, x),
lambda f, x: np.log(f),
lambda f, x: np.log1p(-f),
@ -986,7 +986,7 @@ class Kalman(object):
self._set_H(n)
try:
HI = np.linalg.inv(self.H)
except:
except Exception:
HI = np.eye(n)
self._set_P(HI)
return HI
@ -1112,6 +1112,7 @@ class HampelFilter(object):
-pracma.html
"""
def __init__(self, dx=None, t=3, adaptive=None, fulloutput=False):
self.dx = dx
self.t = t