update 51
This commit is contained in:
parent
46e594d5e7
commit
7cadb9426e
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,13 @@ def svf_core(w0, Q, m, shelfA=1, gain=1):
|
|||
v1 = np.array([a2, a1, -a2])
|
||||
v2 = np.array([a3, a2, 1 - a3])
|
||||
C = v0*m[0] + v1*m[1] + v2*m[2]
|
||||
# result.append(np.dot(C, np.concatenate([[x], y])))
|
||||
# y = B*x + np.dot(A, y)
|
||||
# so a FIR would be
|
||||
# C = [fir coefficients go here]
|
||||
# B = [1, 0]
|
||||
# A = [[0, 0]
|
||||
# [1, 0]]
|
||||
return A, B, C
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue