From 76b75047c0c857a277e603c0fd2845e21dc2b705 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Mon, 1 Apr 2024 00:27:49 -0700 Subject: [PATCH] Improve get_data_in_units docstring --- src/pynwb/base.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pynwb/base.py b/src/pynwb/base.py index 4417c371f..5bb9c4259 100644 --- a/src/pynwb/base.py +++ b/src/pynwb/base.py @@ -343,14 +343,17 @@ def get_data_in_units(self): .. math:: out = data * conversion + offset - If the field 'channel_conversion' is present, the conversion factor is applied to each channel separately: + If the field 'channel_conversion' is present, the conversion factor for each channel is additionally applied + to each channel: .. math:: - out_{channel} = data * conversion_{channel} + offset + out_{channel} = data * conversion * conversion_{channel} + offset + + NOTE: This will read the entire dataset into memory. Returns ------- - np.ndarray + np.array """ if "channel_conversion" in self.fields: