[FieldTrip] problems with topographic plotting

Ivaylo Iotchev ivaylo.iotchev at gmail.com
Mon Apr 8 12:56:29 CEST 2024


Thanks Mathijs, will try that!

Am Mo., 8. Apr. 2024 um 12:55 Uhr schrieb Schoffelen, J.M. (Jan Mathijs)
via fieldtrip <fieldtrip at science.ru.nl>:

> Hi Ivo,
>
> You report an error in ft_getopt.m, line 41.
>
> My version of the code (in fieldtrip/utilities for example) lands
> somewhere in the function’s doc-string. In other words, in your case Matlab
> sidetracked into an (old / strange / un-updated ) version of the code.
> Perhaps things will be solved if you define a clean path.
>
> Best wishes,
> Jan-Mathijs
>
>
> On 5 Apr 2024, at 14:56, Ivaylo Iotchev via fieldtrip <
> fieldtrip at science.ru.nl> wrote:
>
> Dear community,
>
> I would like to plot pre-calculated averages/electrode onto a head-model (easycapM1)
>
> These are averages (across subjects) of ITC values (inter-trial coherence)
> and
> for reasons I can elaborate on request it was the easiest to store these
> values
> in a separate column vector than to let topoplotER work on top of the
> ft_freqanalysis. Something seems lost in translation. Even when I create a
> structure around the vector (making sure it's fields),
> topoplot_ER does not want to work with it. Specifically the error messages
> I get are:
>
> Error using fieldnames Invalid input argument of type 'cell'. Input must
> be a structure or a Java or COM object. Error in ft_getopt (line 41)
> prop_names = fieldnames(opt); Error in removefields (line 36) recursive =
> ft_getopt(varargin, 'recursive', false); Error in ft_preamble_provenance
> (line 51) cfg.callinfo.usercfg = removefields(cfg,
> ignorefields('provenance')); Error in ft_preamble (line 83)
> evalin('caller', full_cmd); Error in ft_topoplotER (line 177) ft_preamble
> provenance varargin Error in human_consfigure (line 7)
> ft_topoplotER(cfg,Structia.freq)
>
> Thank you dearly in advance, bests,
>
> --
> Dr. Ivaylo Iotchev. Researcher. Active in the fields of ethology,
> psychology, and neuroscience
> Eötvös Loránd University, Budapest
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> <https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cbea778d7aef547372fa108dc57ba5087%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638481704938284934%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=855NeGPaI7Ev1Yu95Ja8b9QWg%2BtIDH2NMcu6B20fmSc%3D&reserved=0>
> https://doi.org/10.1371/journal.pcbi.1002202
>
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>


-- 
Dr. Ivaylo Iotchev. Researcher. Active in the fields of ethology,
psychology, and neuroscience
Eötvös Loránd University, Budapest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20240408/b4402f37/attachment.htm>


More information about the fieldtrip mailing list