Skip to content. | Skip to navigation

Sections
Personal tools
You are here: Home Forum Using data sets Loading .spk files from the pvc-3 data set?

Loading .spk files from the pvc-3 data set?

Up to Using data sets

Loading .spk files from the pvc-3 data set?

Posted by Diego Vidaurre at July 20. 2017

Hi, 

Does anyone have a tip on how to load the .spk files from the pvc-3 data set into, e.g., Matlab? 

I'm using the latest version of NeuroRighter (v1.1.0.564), Matlab R2017a, and both loadspike.m and loadspk.m files fail to do that:

>>  spk = loadspk('t02.spk');

Error using loadspk (line 53)

This file is from an old verion of NeuroRighter. Please try to load your .spk file with the depreciated matlab

function (../deprecated/loadspike)

>> y = loadspike('t02.spk');

Cell contents reference from a non-cell array object.

Error in loadspike (line 85)

            types{numFields} = [types{numFields} num2str(numBits)];

And the same goes for the squeakyspk toolbox.

However, the files .tem seem OK to read. 

>> y = loadspike('t08.tem');

>> y

y = 

  struct with fields:

     channel: 0

        time: 0.9942

    waveform: [2696×1 double]

Apologies if this is too obvious, I'm relatively new to spiking data. Thanks a lot. 

d

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Menlo; color: #5330e1}

Re: Loading .spk files from the pvc-3 data set?

Posted by Jeff Teeters at July 27. 2017

Perhaps these previous posts will help:

https://crcns.org/forum/using-datasets/931502129

 

Powered by Ploneboard
Document Actions