Midband frequencies can now also be called with list of xs

This commit is contained in:
Anne de Jong 2020-01-20 19:47:09 +01:00
parent d91007dbaa
commit b3197a3dee

View File

@ -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