[FieldTrip] headmodel and electrodes alignment

Stephen Whitmarsh stephen.whitmarsh at gmail.com
Wed Jan 16 09:55:17 CET 2019


Hi Elene,

After 'interactive' mode to give it a good start, I use the output for
another iteration of automatic 'headshape' method for a tight fit.

Hope this helps,
Stephen


On Wed, 16 Jan 2019 at 09:31, Elene Beitia Loinaz <
elene.beitia at alumni.mondragon.edu> wrote:

> Dear fieldtriprs,
>
> I 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.
>
> *This is my code:*
> headmodel=ft_read_vol('standard_vol.mat');
>
>
>
> %then we realign them
>
> cfg=[];
>
> cfg.method= 'interactive';      %'interactive'%
>
> cfg.headshape=headmodel.bnd(1); %the skin surface
>
> elec_realigned =ft_electroderealign(cfg,data1.elec);
>
>
>
> [image: Captura de pantalla 2019-01-16 a las 8.51.49.png]
>
> *These are the structures used:*
>
> data1.elec structure
>     chanpos: [128×3 double]
>     chantype: {128×1 cell}
>     chanunit: {128×1 cell}
>      elecpos: [128×3 double]
>        label: {1×128 cell}
>         type: 'biosemi128'
>         unit: 'dm'
>
> standard_vol structure
>     bnd: [1×3 struct]
>     cond: [0.3300 0.0041 0.3300]
>      mat: [3000×3000 double]
>     type: 'dipoli'
>     unit: 'mm'
>
> 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/bd71f8d2/attachment-0002.html>


More information about the fieldtrip mailing list