|
Greetings,
I employ sigTOOL in conjunction with wave_cus for spikesorting, and return the results to the main .kcl data struct. After performing spike detection, the timeunits become inconsistent. The data is sampled at 25Khz, and this value is also in the parameters exported to wave_clus, but upon returning the clustered spikes, inspecting the channels return the following:
----begin output----
>> channels{2}.tim
Scale = 1
Shift = 0
Func = []
Units = 1.25e-06 (s)
Map = 1x1 memmapfile
containing: 1x2 int32 array in ans.Map.Data.Stamps
Swapbytes = false
Name Size Bytes Class Attributes
obj 1x2 1253 tstamp
>> channels{5}.tim
Scale = 1
Shift = 0
Func = []
Units = 1e-06 (s)
Map = 1x1 memmapfile
containing: 1978x3 double array in ans.Map.Data.Stamps
Swapbytes = false
Name Size Bytes Class Attributes
obj 1978x3 1255 tstamp
----end output----
So it appears that upon returning the clustered spikes, the time units have changed. Which is funny, because the displaying of time series is still correct, and the spikes do appear at their right times.
At the helpwin i am informed that some sigTOOL functions may have problems if the units are different. So: should i change the units manually so that they correspond?
Best!
Mario.
|