Ya, in the past I used an equidistant cap so it was never an issue to interpolate so long as multiple neighboring channels did not all need to be interpolated. Otherwise I don't see a way around it besides using a different method such as spline.<br><br>On Thursday, March 17, 2016, Irene Sophia Mayer <<a href="mailto:mi_mayer@gmx.de">mi_mayer@gmx.de</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>My problem now is that I have the neighbours structure, including the neighbours for 'Fp1', in the form of just a list stating the neighbours. Still, it says that there are no neighbours. I will try to use a different method than 'average' or 'nearest' but I'm not completely happy with that...
<div> 
<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Gesendet:</b> Mittwoch, 16. März 2016 um 20:31 Uhr<br>
<b>Von:</b> "Max Cantor" <Max.Cantor@Colorado.EDU><br>
<b>An:</b> "FieldTrip discussion list" <<a href="javascript:_e(%7B%7D,'cvml','fieldtrip@science.ru.nl');" target="_blank">fieldtrip@science.ru.nl</a>><br>
<b>Betreff:</b> Re: [FieldTrip] Events in databrowser</div>

<div name="quoted-content">
<div>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"> 
<div class="gmail_quote">On Wed, Mar 16, 2016 at 12:40 PM, Max Cantor <span><<a href="http://Max.Cantor@colorado.edu" target="_blank">Max.Cantor@colorado.edu</a>></span> wrote:

<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">
<div>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"> 
<div class="gmail_quote">
<div>
<div>On Wed, Mar 16, 2016 at 12:00 PM, Irene Sophia Mayer <span><<a href="http://mi_mayer@gmx.de" target="_blank">mi_mayer@gmx.de</a>></span> wrote:</div>
</div>

<blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1.0px rgb(204,204,204) solid;padding-left:1.0ex">
<div>
<div>
<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>

<div><span><font color="#888888">Irene</font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="http://fieldtrip@donders.ru.nl" target="_blank">fieldtrip@donders.ru.nl</a><br>
<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></blockquote>
</div>
 

<div> </div>
<span><font color="#888888">-- </font></span>

<div>
<div>
<div style="font-size:small">
<div><span><font color="#888888">Max Cantor</font></span></div>
<span><font color="#888888">Graduate Student</font></span></div>

<div style="font-size:small"><span><font color="#888888">Cognitive Neuroscience of Language Lab</font></span></div>
<span><font color="#888888"><span style="font-size:small">University of Colorado Boulder</span></font></span></div>
</div>
<span><font color="#888888"> </font></span></div>
</blockquote>
</div>
 

<div> </div>
--

<div>
<div>
<div style="font-size:small">
<div>Max Cantor</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></div>
</div>
</div>
_______________________________________________ fieldtrip mailing list <a href="javascript:_e(%7B%7D,'cvml','fieldtrip@donders.ru.nl');" target="_blank">fieldtrip@donders.ru.nl</a> <a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></div>
</div>
</div>
</div></div></div>
</blockquote><br><br>-- <br><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><br>