- refactored
This commit is contained in:
@@ -2,9 +2,9 @@ import numpy as np
|
||||
|
||||
|
||||
class Delay:
|
||||
def __init__(self, dt, delay):
|
||||
def __init__(self, dt, delay, ic):
|
||||
nd = int(delay/dt + 0.5)
|
||||
self.delay_line = np.zeros(nd+1)
|
||||
self.delay_line = np.ones(nd+1)*ic
|
||||
self.ri = 0
|
||||
self.wi = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user