<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear community,<br>
<div class="moz-forward-container"> <br>
My name is Ingrid Sör and am working at Uppsala University,
Sweden, where we have recently started up a lab for studying
speech and language related issues. At the moment I am trying my
hand at analysing some trial EEG data with Fieldtrip (an oddball
paradigm).<br>
<br>
We are using the NeurOne software from MEGA Electronics, which
renders data in .ses file format. I seem to be having trouble
reading this format with <small><font face="Courier New, Courier,
monospace">ft_read_header</font></small>, so I suspect it
isn't supported (but I have read different accounts about this <a
moz-do-not-send="true"
href="http://www.fieldtriptoolbox.org/dataformat">here</a> and <a
moz-do-not-send="true"
href="http://www.fieldtriptoolbox.org/getting_started/egi">here</a>)?
Maybe the file formats are also different depending on if they are
from NeurOne or Net Station?<br>
<br>
As far as I know, exporting to another format can't be done from
NeurOne, as is suggested for Net Station. MEGA do supply Matlab
functions to import the data though. But I thought I'd double
check that the format actually isn't supported before I go down
that route. I would also be glad to know if anyone has experience
with using .ses data from NeurOne and know what alternative might
be the best for importing to FieldTrip: reformatting the data
structure rendered by the Matlab functions (from MEGA) to give
compatibility with FieldTrip, or extending the FieldTrip reading
functions to make them implement the .ses file format too?<br>
<br>
<big><small>Further below is some info about my code and the
error, if the error could be explained by this.</small></big><small><font
face="Courier New, Courier, monospace"><big><font
face="sans-serif"><br>
</font></big></font></small><br>
<small><font face="Courier New, Courier, monospace"><big><font
face="sans-serif"><big><small><small><font face="Courier
New, Courier, monospace"><big><font
face="sans-serif">Any help would be much
appreciated.<br>
<br>
</font></big></font></small></small></big>Best,<br>
Ingrid<br>
<br>
-------------<br>
<br>
</font></big></font></small><small><font face="Courier New,
Courier, monospace"><big><font face="sans-serif">This is the
line I got stuck on, with the error message below.<br>
</font></big><br>
cfg = ft_definetrial(cfg);<br>
<br>
Warning: could not determine filetype of<br>
/media/ingrid/Elements/EEG-data/P300_2015-06/Subject01/NeurOne-2015-06-12T130624.ses
<br>
> In ft_filetype at 1221<br>
In utilities/private/dataset2files at 42<br>
In ft_checkconfig at 541<br>
In ft_definetrial at 128 <br>
Warning: no trialfun was specified, using ft_trialfun_general
<br>
> In ft_definetrial at 135 <br>
evaluating trialfunction 'ft_trialfun_general'<br>
Error using ft_read_header (line 2053)<br>
unsupported header format (unknown)<br>
<br>
Error in ft_trialfun_general (line 78)<br>
hdr = ft_read_header(cfg.headerfile, 'headerformat',
cfg.headerformat);<br>
<br>
Error in ft_definetrial (line 174)<br>
[trl, event] = feval(cfg.trialfun, cfg);</font></small><br>
<br>
<small><font face="Courier New, Courier, monospace"><big><font
face="sans-serif">My cfg structure looks like this</font></big></font></small><small><font
face="Courier New, Courier, monospace"><big><font
face="sans-serif"><font face="Courier New, Courier,
monospace">:</font></font></big><br>
<br>
cfg = <br>
<br>
dataset:
'/media/ingrid/Elements/EEG-data/P300_2015-06/Subject01/NeurOne-2015-06-12T130624.ses'<br>
trialdef: [1x1 struct]<br>
lpfilter: 'no'<br>
continuous: 'yes'<br>
channel: 'EEG'<br>
layout: 'EEG1020.lay'<br>
</font></small> <br>
</div>
<br>
</body>
</html>