BlackrockNeurotech / NPMK

Neural Processing Matlab Kit is a set of functions for loading and manipulating data from Blackrock Microsystems' data files (.CCF, .NEV, .NSx).
45 stars 57 forks source link

Daqs 897 nev.data.comments.timestamp started sec appears buggy #73

Open dkluger opened 1 day ago

dkluger commented 1 day ago

Fixes necessitated from pending Central update that where NEV files' comment packets have colorFlag behavior enabled.

Updates to comment-saving behavior creates two comment packets per comment generated by cbMEX or Central: one where the colorFlag = 0 and the RGBA uint32 is included in the payload, and colorFlag = 1 when a timestamp started difference uint32 is included in the payload. For Gemini, this time difference is in µs (where the time resolution is in ns). For legacy systems, this difference is in sample count (30 kHz counter).