From 6f5a3c2ea1f71164124b1f4aa33f91f9f8fb9372 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Sat, 13 Nov 2021 14:27:57 +0100 Subject: [PATCH] Bugfix in overall value of results --- lasp/lasp_slm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasp/lasp_slm.py b/lasp/lasp_slm.py index 71c627e..14642c5 100644 --- a/lasp/lasp_slm.py +++ b/lasp/lasp_slm.py @@ -192,7 +192,7 @@ class SLM: # Indiced at 0, as pyxSLM always returns 2D arrays. if self.include_overall and self.fbdesigner is not None: - output['overall'] = dat[-1] + output['overall'] = dat[-1,0] output['y'] = np.asarray(dat[:-1,0]) else: output['y'] = np.asarray(dat[:,0])