beifen / neurorighter

Automatically exported from code.google.com/p/neurorighter
0 stars 0 forks source link

Recent changes to channel number cause errors in plotting #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Recent changes were aimed at changing channel number from a 0 to 1 based scheme 
(or something like that).

However, now, plotting is having trouble because its expecting a 1 based 
scheme, something like:

waveform[spike.channel - 1] 

but instead spike.channel = 0, so its getting negative index if spike is 
detected on channel 0.

Problematic line is 123 of EventPlotData and some thereafter

if (numWfmsStored[newWaveforms[i].Channel] <= maxWaveforms)

Original issue reported on code.google.com by jonathan...@gmail.com on 29 Mar 2012 at 9:46

GoogleCodeExporter commented 9 years ago
This issue is fixed in r451.

Original comment by jonathan...@gmail.com on 3 Apr 2012 at 3:40