python-neo
python-neo copied to clipboard
Spike2IO: Wrong sampling_rate value of the read analogsignal
Dear Neo development team
I am trying to import an SMR file using neo.Spike2IO. The sampling rate of one of the read analog signals is different from what is shown when I open the file with Spike2.
Here is an example file: https://copy.com/g4rSBq4hTBl0kjqD The issue is with the signal in channel 1.
The code to reproduce the issue:
from neo import Spike2IO fName = '130605-1LY.smr' blk = Spike2IO(fName).read()[0] volt = blk.segments[0].analogsignals[0] print(volt.sampling_rate)
Thanks
Sincerely, Ajay