python-neo icon indicating copy to clipboard operation
python-neo copied to clipboard

Spike2IO: Wrong sampling_rate value of the read analogsignal

Open ajkswamy opened this issue 10 years ago • 6 comments

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

ajkswamy avatar Aug 03 '15 10:08 ajkswamy