catalystneuro / mease-lab-to-nwb

MIT License
3 stars 2 forks source link

Extended SyntalosRecordingExtractor to deal with multiple rhd files #14

Closed alejoe91 closed 3 years ago

alejoe91 commented 3 years ago

The Syntalos system has the option to save multiple rhd file (e.g. every 3 minutes).

This PR extends the SyntalosRecordingExtractor to:

In order to make it easy to use, the SyntalosRecordingExtractor is now a function that returns an instance of the SyntalosSingleRecordingExtractor when a single rhd file is present, or a SyntalosMultiRecordingExtractor when there are multiple rhd files.

The tsync synchronization has been checked against edlio in both cases and it gives the same results, but faster :) Tested on the new Sliced_Recording Syntalos dataset.

bendichter commented 3 years ago

@alejoe91 thanks for handling this. Do you think it would make sense to move this to spikeextractors?