Describe the bug
It looks like there's still an issue with splitting the firing times mda file after sorting. The first recording isn't split back and has extra spikes. It mainly affects the spike histogram and avg firing rates.
I know that this recording should be around 20-30 minutes, but it's 80 on the plot:
I also made combined plots of the histograms for multiple recordings and it's clear that the second (sleep) recording is part of the first (open field) one:
It is clear from the splitting function why this is happening (first one isn't split back here at all). I remember having and fixing this error so I'm a bit concerned about not pushing some changes and I will investigate further.
Describe the bug It looks like there's still an issue with splitting the firing times mda file after sorting. The first recording isn't split back and has extra spikes. It mainly affects the spike histogram and avg firing rates.
I know that this recording should be around 20-30 minutes, but it's 80 on the plot:
I also made combined plots of the histograms for multiple recordings and it's clear that the second (sleep) recording is part of the first (open field) one:
It is clear from the splitting function why this is happening (first one isn't split back here at all). I remember having and fixing this error so I'm a bit concerned about not pushing some changes and I will investigate further.