Skip to content

Commit

Permalink
add fix
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Dec 18, 2023
1 parent dda869d commit 6a119a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynwb/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a119a1

Please sign in to comment.