Midband frequencies can now also be called with list of xs
This commit is contained in:
parent
d91007dbaa
commit
b3197a3dee
@ -73,6 +73,9 @@ class FilterBankDesigner:
|
||||
Args:
|
||||
x: Midband designator
|
||||
"""
|
||||
if type(x) == list:
|
||||
x = np.asarray(x)
|
||||
|
||||
# Exact midband frequency
|
||||
return self.G**(x/self.b)*self.fr
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user