We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3784bb3 commit 6ee5dcdCopy full SHA for 6ee5dcd
1 file changed
src/spikeinterface/extractors/neoextractors/neobaseextractor.py
@@ -264,6 +264,9 @@ def __init__(
264
self.has_non_standard_units = False
265
if not np.all(np.isin(units, list(standard_units_and_additional_gains.keys()))):
266
self.has_non_standard_units = True
267
+ warnings.warn(
268
+ f"The raw file has non standard units: {np.unique(units)}. Standard units are: {list(standard_units_and_additional_gains.keys())}. 'uV' are assumed."
269
+ )
270
271
additional_gain = np.ones(units.size, dtype="float")
272
for key, value in standard_units_and_additional_gains.items():
0 commit comments