Thread Subject: sigTOOL: Timestamps from wave_clus inconsistency

Subject: sigTOOL: Timestamps from wave_clus inconsistency

From: Mario

Date: 9 Feb, 2010 15:54:03

Message: 1 of 4

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.

Subject: sigTOOL: Timestamps from wave_clus inconsistency

From: Malcolm Lidierth

Date: 9 Feb, 2010 17:48:04

Message: 2 of 4

Mario
This issue was fixed recently. Download the latest version of sigTOOL from http://sourceforge.net/projects/sigtool/

The spike times were correct before but were always expressed in microseconds which might cause problems if you combined original data channels and wave_clus outputs in a single analysis.
ML

Subject: sigTOOL: Timestamps from wave_clus inconsistency

From: Mario

Date: 9 Feb, 2010 22:26:02

Message: 3 of 4

Dear Malcolm,

Thanks for letting me know.

Another question, about further communications regarding sigTOOL:

I just registered my copy, and wondered what is the preferred method: should the communication from now on proceed through the sigtool email, or here at the matlab newsreader?

Mario.

"Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam> wrote in message <hks74k$sqq$1@fred.mathworks.com>...
> Mario
> This issue was fixed recently. Download the latest version of sigTOOL from http://sourceforge.net/projects/sigtool/
>
> The spike times were correct before but were always expressed in microseconds which might cause problems if you combined original data channels and wave_clus outputs in a single analysis.
> ML

Subject: sigTOOL: Timestamps from wave_clus inconsistency

From: Malcolm Lidierth

Date: 10 Feb, 2010 12:23:04

Message: 4 of 4

Mario

I think here is best because it creates a more open forum. Other users may be able to answer questions so the response is likely to be quicker - I have a day job to do too.

The sigTOOL bug report/feature request is best used if you need to attach files to illustrate the problem.

I am interested that you registered because I have not received it (or any others). Could you try again. There may be something I have included that is causing the College spam filters to block the messages.

Regards
ML

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
sigtool Mario 9 Feb, 2010 10:59:06
rssFeed for this Thread

Contact us at files@mathworks.com