You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
When converting time stamps from loadSpikes in OpenEphys.py by dividing by the sample rate I get spike times that are larger than the recording duration e.g.
Spike time 1011.3367666666667 s exceeds duration 983.1765333333333 s
Are you taking into account the recording start time (found in the messages.events file)? That will shift the continuous timestamps by a constant value (the spike and event times should already be shifted).
We are saving with the binary lib, with t start = 0, that means I have to
shift spikes and events back to 0?
2017-04-25 18:53 GMT+02:00 Josh Siegle <[email protected]>:
There should be a messages.events file with a line like XXX Processor: Rhythm FPGA Id: 100 start time: XXX@20000Hz
Substract the XXX to the raw timestamp value for spikes and events to align them to the 0-aligned timestamps of the continuous data.
Since the .dat file does not contain timestamps itself, it is always aligned to 0, but the events and spikes timestamps are stored in its raw format, with the hardware timestamps.
Activity
jsiegle commentedon Apr 25, 2017
Are you taking into account the recording start time (found in the messages.events file)? That will shift the continuous timestamps by a constant value (the spike and event times should already be shifted).
lepmik commentedon Apr 28, 2017
aacuevas commentedon Apr 28, 2017
There should be a messages.events file with a line like
XXX Processor: Rhythm FPGA Id: 100 start time: XXX@20000HzSubstract the XXX to the raw timestamp value for spikes and events to align them to the 0-aligned timestamps of the continuous data.
Since the .dat file does not contain timestamps itself, it is always aligned to 0, but the events and spikes timestamps are stored in its raw format, with the hardware timestamps.