Skip to content

Commit 3784bb3

Browse files
Add "Volts" unit
1 parent 201c48a commit 3784bb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spikeinterface/extractors/neoextractors/neobaseextractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def __init__(
260260
units = signal_channels["units"]
261261

262262
# mark that units are V, mV or uV
263-
standard_units_and_additional_gains = {"V": 1e6, "Volt": 1e6, "mV": 1e3, "uV": 1.0}
263+
standard_units_and_additional_gains = {"V": 1e6, "Volt": 1e6, "Volts": 1e6, "mV": 1e3, "uV": 1.0}
264264
self.has_non_standard_units = False
265265
if not np.all(np.isin(units, list(standard_units_and_additional_gains.keys()))):
266266
self.has_non_standard_units = True

0 commit comments

Comments
 (0)