Closed alejoe91 closed 3 years ago
@bendichter I still need to do some more testing, but it seems to be working fine :)
@bendichter @CodyCBakerPhD this is ready to go. It only supports syntalos folders with a single rhd, but we can extend it in case there are datasets with more rhd/tsync files
@alejoe91 thanks for dealing with the tsync issue. I see suggestions above
This PR implements the
SyntalosRecordingExtractor
.It inherits form the
IntanRecordingExtractor
, but it overrides thetime_to_frame
andframe_to_time
functions to make use of thetsync
information. Borrowed acouple of function from edlio.@CodyCBakerPhD as we discussed, I think it would be nice to add a
recording
arg to theNwbSortingExtractor.write_sorting()
. If therecording
is passed, then spike frames are converted to seconds using therecording.frame_to_time()
, instead of using the sampling frequency.