From 0bbfe22d83f9b4ad5ddab91ed204c19283c07bba Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - ASCEE" Date: Thu, 23 Jan 2020 17:23:13 +0100 Subject: [PATCH] Bugfix for lowest frequency point in converting octave band to narrow band --- lasp/filter/filterbank_design.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasp/filter/filterbank_design.py b/lasp/filter/filterbank_design.py index 83a86d3..dabbaf9 100644 --- a/lasp/filter/filterbank_design.py +++ b/lasp/filter/filterbank_design.py @@ -256,7 +256,7 @@ class FilterBankDesigner: for x in self.xs: xl = x fl = self.fl(x) - if self.fl(x+1) > freq[0]: + if fl >= freq[0]: break # Find upper frequency xu