Merged typex feature from slm

This commit is contained in:
Anne de Jong 2020-01-21 11:09:52 +01:00
parent 38865ef9cf
commit 78884cbbe2

View File

@ -73,6 +73,9 @@ class FilterBankDesigner:
Args: Args:
x: Midband designator x: Midband designator
""" """
if type(x) == list:
x = np.asarray(x)
# Exact midband frequency # Exact midband frequency
return self.G**(x/self.b)*self.fr return self.G**(x/self.b)*self.fr