This commit is contained in:
Connor Olding 2015-10-19 18:22:49 -07:00
parent 440cbe2f8c
commit 9c5825a4b1
2 changed files with 5 additions and 4 deletions

View file

@ -3,11 +3,8 @@ import numpy as np
from matplotlib.pylab import show
from .util import *
from .data import *
gen_filters = lambda cascade, srate: [
s2z(*f[1], fc=f[0], srate=srate, gain=10**(f[2]/20)) for f in cascade
]
from .bq import *
from .data import *
from .butterworth import *
from .sweeps import *
from .smoothfft import *

View file

@ -34,3 +34,7 @@ LS2 = lambda A, Q: ((1, np.sqrt(A)/Q, A),
(1, 1/np.sqrt(A)/Q, 1/A))
HS2 = lambda A, Q: ((A, np.sqrt(A)/Q, 1),
(1/A, 1/np.sqrt(A)/Q, 1))
gen_filters = lambda cascade, srate: [
s2z(*f[1], fc=f[0], srate=srate, gain=10**(f[2]/20)) for f in cascade
]