[FieldTrip] Unrecognized field name "dimord" during ft_timelockanalysis
Schoffelen, J.M. (Jan Mathijs)
janmathijs.schoffelen at donders.ru.nl
Thu Jun 22 09:05:08 CEST 2023
Hi Andy,
Could you provide a little bit more information with respect to what the ‘ft_data_tar’ variable looks like ?
Best wishes,
Jan-Mathijs
On 6 Jun 2023, at 02:42, Andy Kim via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:
Dear community,
My name is Andy Kim and I am trying to complete cluster-based permutation tests on event-related fields using the FieldTrip toolbox tutorial (https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock/__;!!HJOPV4FYYWzcc1jazlU!8RTBCeXQO37SC3pH3min8AQCew1ah97-TZLv_h1tzJ0QT8ce5F60z4NeJchJtxELFqbZyy9Q1YrYFckZ-sycOnpayE9SIAZrQ75N1w$ <https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock/__;!!HJOPV4FYYWzcc1jazlU!-SFXKQT1GL1-POlF7Tj2IUUkZ78bg-KMPsdhinve9Bd3ncr1xtEi7f54D21l6k0asfuAhWSb9wanXJa7lQ$>). The issue I believe is that I have completed pre-processing using EEGLAB and converted the already pre-processed data using eeglab2fieldtrip.
ft_data_tar = eeglab2fieldtrip(EEG2, 'timelock’);
However, when I run ft_timelockanalysis, I get the following error.
timelock_tar = ft_timelockanalysis(cfg, ft_data_tar);
The input is timelock data with 63 channels and 750 timebins
Unrecognized field name "dimord”.
Error in dimlength (line 74) elseif strcmp(data.(fld), 'rpt_pos’)
Error in fixsampleinfo (line 56) ntrial = dimlength(data, 'rpt’);
Error in ft_datatype_timelock (line 152) timelock = fixsampleinfo(timelock);
Error in ft_checkdata (line 281) data = ft_datatype_timelock(data, 'hassampleinfo', hassampleinfo);
Error in ft_timelockanalysis (line 83) data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'}, 'feedback', 'yes', 'hassampleinfo', 'yes');
Is this “dimord” field name an issue with the data conversion from EEGLAB to FieldTrip? I am not quite sure where to look and would appreciate any help in sending me in the right direction for debugging. Thank you.
Best,
Andy
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!-j07uKtFi15zpEQzEs3GMwyJ5_ZhGtpDTKUO-mrQXHD3KhS0_LS3ZrHtXb4tukxKNXFih92dgIm9-2_GfZ6LmAYuKVEod4afICOgzA$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20230622/81e3bdb9/attachment.htm>
More information about the fieldtrip
mailing list