Skip to content

BlackrockRawIO: read the recording events of spec 3.0 nev files - #1956

Open
h-mayorquin wants to merge 1 commit into
NeuralEnsemble:masterfrom
h-mayorquin:fix_blacrock_recorded_events
Open

h-mayorquin wants to merge 1 commit into
NeuralEnsemble:masterfrom
h-mayorquin:fix_blacrock_recorded_events

Conversation

@h-mayorquin

Copy link
Copy Markdown
Contributor

The files that Chadwick shared in #1924 hold recording events (packet 0xFFF9) for a start, a pause, a resume and a stop, and BlackrockRawIO ignores them. They came to the format with the 64-bit timestamps so only spec 3.0 has them. This PR reads them as a new event channel recording_events with the labels start, stop, pause and resume. The test uses Chadwick's event file on gin.

As with every other packet of the .nev, the segment bounds include these events. So a segment now starts at the recording start and ends at the recording stop when these are outside the data. I left out using the pauses to split segments as that depends on what we decide in #1937. This is another case for #1945: the generic tests already run on two spec 3.0 files with recording events but they would still pass with the labels swapped or with no events at all.

@h-mayorquin

Copy link
Copy Markdown
Contributor Author

@cboulay could you review this one when you have time?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant