fahrenfort / ADAM

the Amsterdam Decoding And Modeling (ADAM) toolbox
Other
37 stars 15 forks source link

fieldtrip format required? #159

Closed mariannalanza closed 4 months ago

mariannalanza commented 4 months ago

I started testing your scripts on my data (.set already epoched, 2 classes). It keeps giving me the error: "Error using read_raw_data('The dimord field seems missing and/or dimensions in the dataset seem to be off. When you are using fieldtrip format, make sure the input files have dimord rpt_chan_time (trial x channel x time).')". I'm not using fieldtrip format. This occurs both using cfg.raw_or_tfr = 'tfr'; or 'raw'. So, I downloaded your data from https://osf.io/eh4u8 and tested on the script made available https://osf.io/chz37 and the very same error occurred. I'm currently using Matlab R2022b. What I'm missing?

fahrenfort commented 4 months ago

Hi, the most likely reason is that you're using the latest version of fieldtrip. The toolbox doesn't work with the latest version, I still need to fix that but have not had time yet. Also see https://github.com/fahrenfort/ADAM, under “Requirements”. Hope this helps, cheers,

Johannes

Op 12 apr 2024 om 22:31 heeft mariannalanza @.***> het volgende geschreven:



I started testing your scripts on my data (.set already epoched, 2 classes). It keeps giving me the error: "error('The dimord field seems missing and/or dimensions in the dataset seem to be off. When you are using fieldtrip format, make sure the input files have dimord rpt_chan_time (trial x channel x time).')". I'm not using fieldtrip format. This occurs both using cfg.raw_or_tfr = 'tfr'; or 'raw'. So, I downloaded your data from https://osf.io/eh4u8 and tested on the script made available https://osf.io/chz37 and the very same error occurred. I'm currently using Matlab R2022b. What I'm missing?

— Reply to this email directly, view it on GitHubhttps://github.com/fahrenfort/ADAM/issues/159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACM6ZIA52IQSSSI26RL67HDY5BABDAVCNFSM6AAAAABGEX2GU6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2DAOBWGI3TSMI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

mariannalanza commented 4 months ago

Thank you very much, the problem was the version indeed and on your data it is currently working fine. I'm facing a different kind of problem, but I think it is related to my EEG data format\ class label!