From 6a119a12b8915fbcd0b8febfe03f73848a15201a Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Mon, 18 Dec 2023 11:37:47 +0100 Subject: [PATCH] add fix --- src/pynwb/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pynwb/base.py b/src/pynwb/base.py index 5514288e8..2ad38edd5 100644 --- a/src/pynwb/base.py +++ b/src/pynwb/base.py @@ -296,7 +296,7 @@ def get_timestamps(self): return np.arange(len(self.data)) / self.rate + self.starting_time def get_data_in_units(self): - return np.asarray(self.data) * self.conversion + self.offset + return np.asarray(self.data) * self.conversion * self.channel_conversion[:, np.newaxis] + self.offset @register_class('Image', CORE_NAMESPACE)