From 013bc479c711307d3bdc6af335362d264ae39464 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Mon, 19 Oct 2020 16:58:09 +0200 Subject: [PATCH] Small bugfix in SLM --- lasp/lasp_slm.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lasp/lasp_slm.py b/lasp/lasp_slm.py index 5c9a944..4c3f853 100644 --- a/lasp/lasp_slm.py +++ b/lasp/lasp_slm.py @@ -113,9 +113,8 @@ class SLM: # No filterbank, means we do only compute the overall values. This # means that in case of include_overall, it creates two overall # channels. That would be confusing, so we do not allow it. - if include_overall: - sos = sos_overall[np.newaxis,:] - self.nom_txt.append('overall') + sos = sos_overall[np.newaxis,:] + self.nom_txt.append('overall') self.slm = pyxSlm(prefilter, sos, fs, tw[0], level_ref_value)