Subtract session start time from spike times#111
Conversation
|
@nicolossus what is the reason to subtract start_time? I'm asking because all other streams, like tracking, assume the session start time as start time, so you would need to offset those as well. If it's for spike train analysis, maybe you could make this optional, with a |
@alejoe91 Good point. The reason is indeed for spike train analysis. I made the start time subtraction optional. It would be nice to add session start time subtraction to all the streams. However, we then need to ensure that the times are aligned. The tracking is not necessarily started at the same time as the neural recording. I have fixed this alignment for the LFP and tracking data in a separate repo, and will bring it into this one later. |
Subtract the session start time when loading spike trains.