Spike 2 to FT

Eduardo Garza egarza at GMAIL.COM
Wed Apr 14 18:58:06 CEST 2010


Greetings,

I'm not a programmer, and a beginner using Matlab, and I need to analyze 
Electrophysiological data from Deep Brain Stimulation using FT.
I have tried to get the data from one subject into FT but it tells me all the time 
that the Header is wrong.
The data was recorded using Spike2 from CED, and the data format I was given 
is ".txt", not ".smr" as it usually comes.

Basically the data looks something like this (although the format shown here is 
wrong, but I attached it to this email):

"Time"	"31 Key"	"16 R23"	"15 R23"	"14 R23"	"13 R23"	"10 01" 
"9 L23"	"8 L12"	"7 L01"	"6 RM1"	"5 LM1"	"4 R Flex"	"3 L 
Flex"	"2 R ext"	"1 L ext"
0.0000	0.000000	-153	-369	-29	0	4999.85	6.29	698.27	-
204.37	-11.028	2.547	11.62	-5.65	-12.27	21.09
0.0004	0.000000	131	-18	-125	140	4999.85	7.80	701.35	-
188.51	-11.769	4.792	9.17	-4.19	-12.31	19.84
0.0008	0.000000	305	-70	-279	-131	4999.85	7.93	708.54	-
174.54	-11.771	5.302	4.53	-4.36	-11.15	20.12
0.0012	0.000000	208	-153	-562	134	4999.85	7.79	721.20	-
165.24	-11.358	1.503	2.92	-6.49	-10.25	19.54
0.0016	0.000000	53	-153	-481	298	4999.85	6.84	739.02	-
153.11	-8.839	-2.125	2.88	-5.79	-10.44	18.59
0.0020	0.000000	0	-153	-327	452	4999.85	6.62	761.51	-
134.84	-8.992	-0.007	1.68	-4.09	-9.92	16.75

Basically 16 columns, the first one for time, others for voltage of 3 channels.

Is there a way to fix the header or create one so I can work with it in FT?
Or maybe a file converter?

Thanks in advance

Best regards

Eduardo

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
"Time"	"31 Key"	"16 R23"	"15 R23"	"14 R23"	"13 R23"	"10 01" "9 L23"	"8 L12"	"7 L01"	"6 RM1"	"5 LM1"	"4 R Flex"	"3 L Flex"	"2 R ext"	"1 L ext"
0.0000	0.000000	-153	-369	-29	0	4999.85	6.29	698.27	-204.37	-11.028	2.547	11.62	-5.65	-12.27	21.09
0.0004	0.000000	131	-18	-125	140	4999.85	7.80	701.35	-188.51	-11.769	4.792	9.17	-4.19	-12.31	19.84
0.0008	0.000000	305	-70	-279	-131	4999.85	7.93	708.54	-174.54	-11.771	5.302	4.53	-4.36	-11.15	20.12
0.0012	0.000000	208	-153	-562	134	4999.85	7.79	721.20	-165.24	-11.358	1.503	2.92	-6.49	-10.25	19.54
0.0016	0.000000	53	-153	-481	298	4999.85	6.84	739.02	-153.11	-8.839	-2.125	2.88	-5.79	-10.44	18.59
0.0020	0.000000	0	-153	-327	452	4999.85	6.62	761.51	-134.84	-8.992	-0.007	1.68	-4.09	-9.92	16.75


----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.


More information about the fieldtrip mailing list