Closed MRBMELMH closed 4 years ago
Dear Ma Rui,
Can you import the .hdf5 files into EEGLab (without using Automagic)? If so, you can simply import the files into EEGLab first and then save it as a .mat file. It seems that you saved the files as .set. The .set format is not compatible with Automagic.
If you have imported the files with EEGLab, MATLAB creates an structures named "EEG". Save this "EEG" structure with the "save" function:
save('yourfilename.mat','EEG')
Then Automagic can definitely load the .mat file.
Best,
Nicolas
Dear Nicolas,
Thanks for your reply. This problem has already be solved. I have another question : Can I use a 64-channel data in Automagic?
Thanks Ma Rui
Dear Ma Rui,
Nice to hear that the data import did work now. Sure, you can use 64-channel data or any other electrodes EEG system. All you need is the electrodes coordinates file for your EEG system.
The gp_m2 is the final (cleaned) data set. If you load this one to MATLAB you will see a EEG and automagic structure. The EEG structure is the same as from EEGLab, so you can simple continue to work with EEGLab function (e.g. save as a .set file).
Best,
Nicolas
I don't know what settings you have used for automagic (which reference? did you use bad channel identification?). are you sure that there were 64 channels before Automagic. It might be that the reference channel is not loaded in a first place. You can check the channels by looking at the EEG.chanlocs structure.There you see the labels and coordinates of all used electrodes.
Did you open the raw files (before preprocessed in Automagic) in EEGlab? What's the number of channels there? or check EEG.chanlocs.
I see in your setting that you selected two electrodes as references channel (63 and 64). Are you sure you recorded this with two reference electrodes? Are you sure they are in the raw recordings?
could you send me a raw file please. so i can take a look at the two reference electrode problem.
It seems that PREP is working. It just takes a lot of processing time depending on your computer.
Best,
Nicolas
OK,I'll send my raw files to you in e-mail.
Thaanks MA RUI
Hi Ma rui,
I did not receive any raw files.
Best,
Nicolas
Nicolas Langer Assistant Professor of Methods of Plasticity Research University of Zurich Andreasstrasse 15 (Office AND.4.58) 8050, Zurich, Switzerland n.langer@psychologie.uzh.ch phone: (+41) 44 635 34 14 http://www.psychology.uzh.ch/en/areas/nec/plafor.html
On Aug 8, 2019, at 3:49 PM, MRBMELMH notifications@github.com wrote:
OK,I'll send my raw files to you in e-mail.
Thaanks MA RUI
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/methlabUZH/automagic/issues/7?email_source=notifications&email_token=AGGDUJDTLM6ZLAON72EAC5DQDQP6DA5CNFSM4IJCQG52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD33VM2Y#issuecomment-519525995, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGDUJELIKCSLSQJROAQSJDQDQP6DANCNFSM4IJCQG5Q.
Dear Nicolas, Firstly, thank you and your team created such a great work! It‘s awesome! I have a problem about how to add my EEG data to the menu?My data was recorded from the g.recorder, which can't be read in Automagic .And then I changed the file extension .set , it sill can't be read. Could you tell me the solution of this problem?