<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Max,<br>
<br>
check out Fieldtrip/template/electrode and see if you can use one
of the templates in there. Best would be to use electrode
measurements that you actually performed yourself (to get the
distances between electrodes right), but using a template might be
good as well. Once you found a good template-file, you can set
cfg.elecfile = 'folder/filename' and FieldTrip will handle the
rest.<br>
Otherwise, if some of your colleagues have electrode measurements,
you can also ask them for advice.<br>
<br>
Best,<br>
Jörn<br>
<br>
On 11/15/2013 5:40 PM, Max Cantor wrote:<br>
</div>
<blockquote
cite="mid:CAFTjRaXTejRv=CSbenzveGPQQ_9seZ4-wACGyf=L0XXEP3tdgQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I'm trying to perform channel repair on EEG data that has
undergone jump, muscle, and visual artifact rejection, and ICA
to remove eog and ecg components, unmixed back into the
original channels. It's a 61 channel system using a modified
easycap layout and neighbours template. </div>
<div><br>
</div>
<div>The layout has been shown to work on topographic displays,
and the template seems to work in that it creates a neighbours
object when ft_prepare_neighbours is run on it without any
errors.</div>
<div><br>
</div>
<div>However, I'm getting an error when I attempt to run
ft_channelrepair: <br>
<br>
<div>Error using ft_fetch_sens (line 179)</div>
<div>no electrodes or gradiometers specified.</div>
<div><br>
</div>
<div>Error in ft_channelrepair (line 112)</div>
<div> sens = ft_fetch_sens(cfg, data);</div>
</div>
<div><br>
</div>
<div>I'm not currently using ft_datatype_sens or ft_read_sens,
as I'm not really sure what elec/sens file I should be reading
or how to go about creating it. I was hoping that the
template, my data, and/or the layout would contain the
necessary information, but given the error on ft_fetch_sens,
that doesn't seem to be the case.</div>
<div><br>
</div>
<div>Any help on this issue would be greatly appreciated.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Max</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Jörn M. Horschig
PhD Student
Donders Institute for Brain, Cognition and Behaviour
Centre for Cognitive Neuroimaging
Radboud University Nijmegen
Neuronal Oscillations Group
FieldTrip Development Team
P.O. Box 9101
NL-6500 HB Nijmegen
The Netherlands
Contact:
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel: +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
</body>
</html>