update 9
This commit is contained in:
parent
440cbe2f8c
commit
9c5825a4b1
2 changed files with 5 additions and 4 deletions
|
@ -3,11 +3,8 @@ import numpy as np
|
||||||
from matplotlib.pylab import show
|
from matplotlib.pylab import show
|
||||||
|
|
||||||
from .util import *
|
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 .bq import *
|
||||||
|
from .data import *
|
||||||
from .butterworth import *
|
from .butterworth import *
|
||||||
from .sweeps import *
|
from .sweeps import *
|
||||||
from .smoothfft import *
|
from .smoothfft import *
|
||||||
|
|
|
@ -34,3 +34,7 @@ LS2 = lambda A, Q: ((1, np.sqrt(A)/Q, A),
|
||||||
(1, 1/np.sqrt(A)/Q, 1/A))
|
(1, 1/np.sqrt(A)/Q, 1/A))
|
||||||
HS2 = lambda A, Q: ((A, np.sqrt(A)/Q, 1),
|
HS2 = lambda A, Q: ((A, np.sqrt(A)/Q, 1),
|
||||||
(1/A, 1/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
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in a new issue