[FieldTrip] headmodel and electrodes alignment

Julian Keil julian.keil at gmail.com
Wed Jan 16 10:41:53 CET 2019

Hi Elene,

please excuse the probably useless question, but did you try to move the electrodes around in the „interactive“-mode?
You write:  "still have problemns in aligning correctly the headmodel and the electrodes. Although now both have the correct size, the electrodes do not correctly fit the head.“
It is not surprising that the electrodes don’t fit perfectly. That’s why you can use the „rotate“, „scale“ and „translate“-settings to move the electrodes around until they fit better.



> Am 16.01.2019 um 10:09 schrieb Elene Beitia Loinaz <elene.beitia at alumni.mondragon.edu>:
> Hi Stephen,
> Thank you for your answer. I already try that, but the result that I obtained is not correct either.
> Code:
> cfg=[];
> cfg.method= 'headshape';      
> cfg.headshape=headmodel.bnd(1); % this is the skin surface
> elec_realigned =ft_electroderealign(cfg,data1.elec);
> %Plot the result to see if is correct 
> vol = ft_convert_units(vol,'mm');
> elec_realigned = ft_convert_units(elec_realigned,'mm')
> figure
> ft_plot_sens(elec_realigned, 'style', 'b');
> hold on
> ft_plot_vol(vol);
> <Captura de pantalla 2019-01-16 a las 9.59.14.png>
> Thank you in advance,
> Elene.
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190116/7eb5b475/attachment-0002.html>

More information about the fieldtrip mailing list