[FieldTrip] ft_channelrepair shows no effect at all

Eelke Spaak eelke.spaak at donders.ru.nl
Thu Aug 14 08:57:38 CEST 2014


OK just checking :) In that case, could you post a small snippet of
data and the actual cfg you used (including which channels to repair)
on e.g. dropbox or so? Then I can have a look.

Best,
Eelke

On 13 August 2014 22:12, KatrinH Heimann <katrinheimann at gmail.com> wrote:
> Dear Eelke, yes, sure, sorry, I did that. No effect.
>
>
> 2014-08-13 21:55 GMT+02:00 Eelke Spaak <eelke.spaak at donders.ru.nl>:
>
>> Dear Katrin,
>>
>> Have you tried putting the labels of the channels you want interpolated
>> into the cfg.badchannel array?
>>
>> Best,
>> Eelke
>>
>> Op 13 aug. 2014 19:24 schreef "KatrinH Heimann" <katrinheimann at gmail.com>:
>>>
>>> Dear all. I am trying to replace bad channels.
>>> This is my code (very basic I think):%% Preparing neighbours for channel
>>> repair
>>>
>>>
>>>
>>> cfg_neighb          = [];
>>>
>>> cfg_neighb.feedback = 'yes';
>>>
>>> cfg_neighb.method   = 'triangulation';
>>>
>>> cfg_neighb.layout   = 'GSN-HydroCel-129.sfp';
>>>
>>> neighbours          = ft_prepare_neighbours(cfg_neighb, obs_data);
>>>
>>>
>>>
>>> % Interpolate and put into new data structure
>>>
>>>  cfg                      = [];
>>>
>>>  cfg.badchannel           = {};
>>>
>>>  cfg.layout               = 'GSN-HydroCel-129.sfp';
>>>
>>>  cfg.method               = 'nearest';
>>>
>>>  cfg.neighbours           = neighbours;
>>>
>>>  obs_data_channelrepaired       = ft_channelrepair(cfg,obs_data)
>>>
>>>
>>> I do not get any error but fieldtrip even tells me that the interpolation
>>> worked. However I do not see ANY trace of it in my data when inspecting it
>>> afterwards. I also tried to change the method (to average) - no change.
>>> Anybody who can help me with that?
>>> Thanks a million
>>> Katrin
>>>
>>>
>>>
>>> _______________________________________________
>>> fieldtrip mailing list
>>> fieldtrip at donders.ru.nl
>>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip



More information about the fieldtrip mailing list