<div dir="ltr">Coincidentally, I just had to remove FP1 from one of my datasets, failed to check my neighbours structure ahead of time despite this conversation, and can confirm that FP1 could not be interpolated for me as well.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 16, 2016 at 12:40 PM, Max Cantor <span dir="ltr"><<a href="mailto:Max.Cantor@colorado.edu" target="_blank">Max.Cantor@colorado.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I currently use a neuroscan64 system, with the quickcap64 layout. Just looking at the layout, it seems like FP1 could be interpolated from FPZ and AF3, but I'd have to test (or look at my neighbours structure) to see if this would be the case. Anyway, depending on your setup, it may be the case that FP1 does not have any designated neighbours to interpolate from. You may need to try a different method than average or nearest.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 16, 2016 at 12:00 PM, Irene Sophia Mayer <span dir="ltr"><<a href="mailto:mi_mayer@gmx.de" target="_blank">mi_mayer@gmx.de</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div style="font-family:Verdana;font-size:12.0px"><div style="font-family:Verdana;font-size:12.0px">
<div style="font-family:Verdana;font-size:12.0px">
<div style="font-family:Verdana;font-size:12.0px">
<div>Dear fieldtrippers, </div>

<div> </div>

<div>I have excluded noisy channels from my data using</div>

<div> </div>

<div>data = ft_rejectvisual(cfg, data);<br>
data = ft_rejectartifact(cfg, data);</div>

<div> </div>

<div>and now want to interpolate them. To do so, I am first defining the neighbours using a zebris file:</div>

<div> </div>

<div>
<div>cfg                         = [];<br>
cfg.method                  = 'template';<br>
cfg.layout                  = 'EEG1010.lay';<br>
cfg.feedback                = 'yes';<br>
cfg.elec                    = ft_read_sens('Maque.sfp');</div>

<div>neighbours = ft_prepare_neighbours(cfg,data_con);</div>

<div> </div>

<div>With data_con being the data that still has all the channels in it. This gives me the variable neighbours that does indeed contain the 6 neighbours for my missing channel. However, when I try to use </div>

<div> </div>

<div>
<div>cfg.method                  = 'average';<br>
cfg.missingchannel          = {'Fp1', 'Fp2', 'AF7', 'AF8'};<br>
cfg.neighbours              = neighbours;</div>

<div>data = ft_channelrepair(cfg,data);</div>

<div> </div>

<div>I get the following message for each and every trial: trying to reconstruct missing channel Fp1 - cannot reconstruct channel - no neighbours in the original data or in the sensor position.</div>

<div> </div>

<div>Does anyone have an idea why this is not working properly?</div>
</div>
</div>

<div> </div>

<div>Cheers, </div><span><font color="#888888">

<div>Irene</div>
</font></span></div>
</div>
</div></div></div>
<br></div></div>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="mailto:fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div style="font-size:small"><div>Max Cantor<br></div>Graduate Student</div><div style="font-size:small">Cognitive Neuroscience of Language Lab</div><span style="font-size:small">University of Colorado Boulder</span><br></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-size:small"><div>Max Cantor<br></div>Graduate Student</div><div style="font-size:small">Cognitive Neuroscience of Language Lab</div><span style="font-size:small">University of Colorado Boulder</span><br></div></div>
</div>