Bugfix in overall value of results

This commit is contained in:
Anne de Jong 2021-11-13 14:27:57 +01:00
parent 7b00e3b2bd
commit 6f5a3c2ea1

View File

@ -192,7 +192,7 @@ class SLM:
# Indiced at 0, as pyxSLM always returns 2D arrays. # Indiced at 0, as pyxSLM always returns 2D arrays.
if self.include_overall and self.fbdesigner is not None: 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]) output['y'] = np.asarray(dat[:-1,0])
else: else:
output['y'] = np.asarray(dat[:,0]) output['y'] = np.asarray(dat[:,0])