File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919
2020# sorting/recording/event from neo
2121from .neoextractors import *
22+ from .neoextractors import read_neuroscope
2223
2324# non-NEO objects implemented in neo folder
2425# keep for reference Currently pulling from neoextractor __init__
8485# * A mapping from the original class to its wrapper string (because of __all__)
8586# * A mapping from format to the class wrapper for convenience (exposed to users for ease of use)
8687#
87- # To achieve these there goals we do the following:
88+ # To achieve these three goals we do the following:
8889#
8990# 1) we line up each class with its wrapper that returns a snakecase version of the class (in some docs called
9091# the "function" version, although this is just a wrapper of the underlying class)
161162# (e.g. 'intan' , 'kilosort') and values being the appropriate Extractor class returned as its wrapper
162163# (e.g. IntanRecordingExtractor, KiloSortSortingExtractor)
163164# An important note is the the formats are returned after performing `.lower()` so a format like
164- # SpikeGLX will be a key of 'spikeglx'
165+ # SpikeGLX will have a key of 'spikeglx'
165166# for example if we wanted to create a recording from an intan file we could do the following:
166167# >>> recording = se.recording_extractor_full_dict['intan'](file_path='path/to/data.rhd')
167168
198199 "snippets_extractor_full_dict" ,
199200 "read_binary" , # convenience function for binary formats
200201 "read_zarr" ,
202+ "read_neuroscope" , # convenience function for neuroscope
201203 ]
202204)
You can’t perform that action at this time.
0 commit comments