Closed m-topor closed 3 years ago
Hi Marta,
Thanks for your question, and I think this is an odd situation. Have you tried exporting the channel loc file as a different file format? Does the same error appear?
John
Hi Marta,
I would guess, that there must be something wrong with setting the reference channel. Please make sure, if a reference channel is already in the data (a row with all zeros) or a non-scalp reference channel was used (check your EEG system) or if you should add a new reference (scalp reference, but not in the EEG.data).
Best,
Nicolas
Hi, I had the same problem while importing locations from ced files. It appears that the error arises from an inconsistency in readlocs.m. So I'm posting my findings here if anyone else runs into the same problem:
If you put '.ced' in the "channel location file type" box in the automagic main gui you will get the following error:
Insufficient number of outputs from right hand side of equal sign to satisfy assignment. Error in readlocs (line 348) g.format = chanformat(indexformat).importformat;
One could try converting to another sensor location format and use that one, or:
Instead of putting '.ced' in the box, try putting '.chanedit' in it (maybe 'chanedit' without the dot will work too).
This works because internally eeglab relates '.ced' with the filetype 'chanedit' as can be seen in readlocs.m line 328:
case 'ced', g.filetype = 'chanedit';
For some reason there is no conversion of 'ced' to 'chanedit' in the code for the case when one puts 'ced' in the aforementioned box.
Thanks for the comments on this thread! I resolved the issue by loading a .locs file instead of a .ced but thanks @yjmantilla for your explanation on how to approach the .ced problem directly. Might be handy in the future.
Hi there!
I might be coming with an unusual set up but I am hoping to be able to work around it.
I am using the Mobita mobile EEG system produced by TMSI and supplied by Biopac. Recordings are taken by Biopac's own Acqknowledge software. The EEG recording files are saved in Acqnowledge specific format but I am able to export them to an .edf format and that's what i have been doing. I cannot export channel locations from Acqknowledge (or at least I am not aware how to) but I have created a channel locations file using EEGLab and exported in .ced format.
I have tried to use Automagic with the .edf files extracted from Acqknowledge and the channel locations file created in EEGLab based on those .edf files
I noticed that there was a problem with the channels, as the original map of the MOBITA electrodes included double names for some channels e.g. "T7/T3". I have tried to get around this in different ways.
I have double checked and for both solutions above the created channel locations file works well when applied to files imported to EEG lab so I am not sure where the error might be coming from.
All help will be very appreciated!
Thank you! Marta