[FieldTrip] Source reconstructions

Eelke Spaak e.spaak at donders.ru.nl
Mon Jan 14 11:54:55 CET 2019


Perhaps a stupid question but have you also tried sens =
ft_convert_units(sens, 'mm')?

Eelke


On Mon, 14 Jan 2019 at 10:52, Elene Beitia Loinaz
<elene.beitia at alumni.mondragon.edu> wrote:
>
> Dear fieldtripers,
>
> I am tryng to visualize the electrodes and the headmodel at the same time. The problem that I have is that I need to reescale one of them.
>
> I have tried to function ft_convert_units, but I just obtain the image attached.
>
> The structure of the information are the next ones,
> headmodel:
>      bnd: [1×3 struct]
>      cond: [0.3300 0.0041 0.3300]
>      mat: [3000×3000 double]
>      type: 'dipoli'
>      unit: 'mm'
> electrodes:
>       pnt: [133×3 double]
>       label: {1×133 cell}
>
> Code that I have used to obtained the image below:
> ft_determine_coordsys (vol, 'interactive','no')
>
>
> figure;
> sens=data.elec;
> sens=ft_convert_units(sens, 'cm');
> ft_plot_vol(vol,'facecolor','skin','edgecolor','none')
> ft_plot_sens(sens,'elecsize',10)
> camlight
> alpha 0.5
>
> If somebody could help my I would be very grateful,
>
> Elene
>
>
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202




More information about the fieldtrip mailing list