mariomulansky / PySpike

Python implementation of spike distance metrics
http://mariomulansky.github.io/PySpike
Other
71 stars 30 forks source link

Empty spike trains information lost #56

Closed thomastiotto closed 2 years ago

thomastiotto commented 2 years ago

I have a set of spiking data from 256 neurons where two non-contiguous groups of 64 neurons are spiking (first figure).
I'm saving the data to a text file where the neurons which aren't spiking have an empty line (as seen in the second figure).

Once I load the data into PySpike the information of which neurons spiked or not is lost, as I get a SpikeTrain with 128 entries. I would have expected to have a SpikeTrain with 256 entries of which 128 were blank.

Screenshot 2022-02-02 at 17 11 40 Screenshot 2022-02-02 at 17 14 50