[FieldTrip] TR: How to create a layout from a pic

Alexander Berger alexander.berger at uni-ulm.de
Thu Oct 28 11:17:41 CEST 2021


Hi Lynn,

if you finished the steps you showed in the picture, the layout should 
be saved to the "layout_ecog" variable according to your code, which you 
then could save for reloading and specify as cfg.layout argument in the 
plotting functions.

But if you are using a system which consists of subsets of electrodes 
from a larger system, you could alternatively load an exisiting layout 
for that system and delete those entries (in the pos, label, width and 
height field) from that structure, which are not used in your system.

Greetings,

Alexander

Am 27.10.2021 um 11:55 schrieb DELCON Lynn via fieldtrip:
>
> Hi everyone,
>
> I am working with EEG data collected with the BrainArt system that 
> doesn’t provide a layout.
>
> How can I code the layout with 11 electrodes (Fz, Cz, Pz, F3, C3, P3, 
> F4, C4, P4, A1, A2) from this pic (below) ?
>
> PS : I tried these code lines (I don’t know what to do next if that is 
> ok) :
>
> cfg = [];
>
> cfg.image = 'montage.png';
>
> layout_ecog = ft_prepare_layout(cfg);
>
> Thanks for your help,
>
> Best regards,
>
> Lynn Delcon (neurosciences student)
>
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202

-- 
Universität Ulm, Abteilung Psychiatrie
Sektion für Kognitive Elektrophysiologie
Leimgrubenweg 12, 89075 Ulm, Deutschland
Tel. +49 731 500 61533

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211028/b93eabf4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F3DA197F70D14BC5BF6205573067E899.png
Type: image/png
Size: 4527 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211028/b93eabf4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16B25AAD0E644B4FBFBC81F9BFC13A98.png
Type: image/png
Size: 1442 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211028/b93eabf4/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F25B2C02095F4CB5920F0AFE9FA5EA3E.png
Type: image/png
Size: 4849 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211028/b93eabf4/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07B84DFA947041B393D3EBF92F13592B.png
Type: image/png
Size: 36706 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211028/b93eabf4/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BAA00321C1C34E649579ABCC20C5E03E.png
Type: image/png
Size: 24081 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20211028/b93eabf4/attachment-0004.png>


More information about the fieldtrip mailing list