[FieldTrip] Question about loading in ERP data

Amna Hyder hyder.amna at gmail.com
Wed Nov 27 08:02:52 CET 2019


Hi Julian,
Sorry I posted the wrong one - I get the same error when I use timelock as
the option

comp = eeglab2fieldtrip(ERP, 'timelock')
Reference to non-existent field 'icachansind'.

Error in eeglab2fieldtrip (line 54)
 header.label   = { tmpchanlocs(EEG.icachansind).labels };

Please let me know if you have any ideas on what could be going wrong.
Amna

On Tue, Nov 26, 2019 at 10:37 PM Julian Keil <julian.keil at gmail.com> wrote:

> Hi Amna,
>
> is there a specific reason why you want to export the ERPs as ICA
> components?
> eegla2fieldtrip has the option to use ’timelock’ as the second input
> option, which might be more sensible in your case.
>
> Hope that helps,
>
> Julian
>
> Am 27.11.2019 um 02:23 schrieb Amna Hyder <hyder.amna at gmail.com>:
>
> Hi,
> I did all my preprocessing in EEGlab and ERPlab and wanted to put in my
> ERP files into fieldtrip to do the cluster permutation analysis on my ERPs.
> I tried using the function eeglab2fieldtrip as specified in the following
> link:
> https://mailman.science.ru.nl/pipermail/fieldtrip/2006-March/000441.html
> I used the 'component analysis' option eg: comp = eeglab2fieldtrip(ERP,
> 'componentanalysis').
> However, I get the following error:
> Reference to non-existent field 'icachansind'.
> Error in eeglab2fieldtrip (line 54)
>  header.label   = { tmpchanlocs(EEG.icachansind).labels };
>
> When I comment out these lines I run into another error:
> Reference to non-existent field 'icaact'.
>
> Error in eeglab2fieldtrip (line 119)
>         if isempty(EEG.icaact)
>
> It seems that this function requires ICA information in the EEGLAB ERP
> file, which isnt stored in the way that it is called. Can someone take a
> look into the function? Do I have to get the ERPs again in fieldtrip?
> Amna
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20191126/f62e6663/attachment.html>


More information about the fieldtrip mailing list