From b3197a3dee8ca42740e3648781ece79d545516a8 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - ASCEE" Date: Mon, 20 Jan 2020 19:47:09 +0100 Subject: [PATCH] Midband frequencies can now also be called with list of xs --- lasp/filter/filterbank_design.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lasp/filter/filterbank_design.py b/lasp/filter/filterbank_design.py index 16387b8..83a86d3 100644 --- a/lasp/filter/filterbank_design.py +++ b/lasp/filter/filterbank_design.py @@ -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