From efede134e52a0a01e1665cffb5543a696673b525 Mon Sep 17 00:00:00 2001 From: chrishalcrow <57948917+chrishalcrow@users.noreply.github.com> Date: Thu, 27 Jun 2024 08:50:11 +0100 Subject: [PATCH] use_names_as_ids update --- src/spikeinterface/extractors/neoextractors/blackrock.py | 5 +++-- src/spikeinterface/extractors/neoextractors/intan.py | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/spikeinterface/extractors/neoextractors/blackrock.py b/src/spikeinterface/extractors/neoextractors/blackrock.py index 0015fd9f67..ab3710e05e 100644 --- a/src/spikeinterface/extractors/neoextractors/blackrock.py +++ b/src/spikeinterface/extractors/neoextractors/blackrock.py @@ -26,8 +26,9 @@ class BlackrockRecordingExtractor(NeoBaseRecordingExtractor): If there are several streams, specify the stream name you want to load. all_annotations : bool, default: False Load exhaustively all annotations from neo. - use_names_as_ids : bool or None, default: None - If True, use channel names as IDs. If None, use default IDs. + use_names_as_ids : bool, default: False + If False, use default IDs inherited from Neo. If True, use channel names as IDs. + """ mode = "file" diff --git a/src/spikeinterface/extractors/neoextractors/intan.py b/src/spikeinterface/extractors/neoextractors/intan.py index 50fda79123..43439b80c9 100644 --- a/src/spikeinterface/extractors/neoextractors/intan.py +++ b/src/spikeinterface/extractors/neoextractors/intan.py @@ -28,7 +28,9 @@ class IntanRecordingExtractor(NeoBaseRecordingExtractor): check we perform is that timestamps are continuous. Setting this to True will ignore this check and set the attribute `discontinuous_timestamps` to True in the underlying neo object. use_names_as_ids : bool, default: False - If True, use channel names as IDs. If False, use default IDs inherited from neo. + If False, use default IDs inherited from Neo. If True, use channel names as IDs. + + """ mode = "file"