[Eeglablist] Biosemi 32 channel .loc file request

Tarik S Bel-Bahar tarikbelbahar at gmail.com
Tue Oct 3 16:39:24 PDT 2017

Another thing you can try is to search on google scholar for
where the same eeg cap was used and they also used eeglab (though this last
part is not necessary).
Then email those 5 or 10 researchers directly and ask for a
correct/full/working chan locations file.

As noted, try not to save them as a .ced file, but try again saving them
with another file ending, or just .txt, and let eeglab decide when it
attempts to load channel locations in Edit > Channel locations.

On Tue, Oct 3, 2017 at 4:19 PM, mahsa shalchy <mahsa.shalchy at gmail.com>

> Dear Tarik and experts,
> The thing is my locations seem to work fine just before saving them as
> *.ced file. Also, as I try to save them as other types (loc,...) I'm
> getting the following error:
> Cell contents reference from a non-cell array object.
> Error in inputgui>outstruct (line 257)
>     else                  currentobj = allobj{index};
> Error in inputgui (line 198)
>     instruct = outstruct(allobj); % Getting default values
>     in the GUI.
> Error in pop_writelocs (line 148)
>    res = inputgui(geometry, listui,
>    'pophelp(''writelocs'');', ...
> Error in pop_chanedit (line 696)
>                 com = pop_writelocs(chans);
> Error using waitfor
> Error while evaluating UIControl Callback
> I would be grateful if someone could help me with this problem.
> Many thanks,
> Mahsa
> On Tue, Oct 3, 2017 at 1:54 PM, Tarik S Bel-Bahar <tarikbelbahar at gmail.com
> > wrote:
>> Hello Mahsa,
>> Nice try, looks like you're almost there.
>> In the future send questions to eegablist list and if you wish CC me.
>> Beware of doing things from command line only.
>> However, you should be able to
>> 1. Use the code line and file you have developed
>> 2. Then save the file (via command line or gui)
>> 3. Then close eeglab, then restart eeglab, then reopen the file form the
>> GUI.
>> 4. Then see if the locations still seem good by jsut plotting the channel
>> locations (rather than editing the channel locations).
>> 5. If the saved file is okay, then you might be good to go.
>> *the issue your're having is about how the coordinates numbers are coded.
>> You would want to make sure that they are in the proper coordinate system.
>> Note that in the Edit Channel locations gui, there are multiple buttons to
>> "transform the coordinates" that you should play with to get a more stable
>> solution.
>> *you also want to plot in 3D from the Edit channel locations to see that
>> the locations are good.
>> *overall you should not be having this problem, and should have a perfect
>> file.
>> *you may want to try to change the filename from *.CED to sfp, and/or let
>> eeglab decide.
>> *try to get things working correctly from GUI first before relying on
>> command line only (though sometimes command line options will save the day).
>> On Tue, Oct 3, 2017 at 2:17 AM, mahsa shalchy <mahsa.shalchy at gmail.com>
>> wrote:
>>> Dear T,
>>> I extracted a text file using Biosemi excel coordination (please find
>>> attached) and then used it with the following command:
>>> >> pop_chanedit(readlocs('biosemi_eloc.txt', 'format', { 'labels'
>>> 'sph_theta_besa' 'sph_phi_besa' }, 'skiplines', 1))
>>> At this point every thing looks fine (please find attached a 2D plot of
>>> the locations).
>>> Then, I saved the location as *.ced file (please also find attached).
>>> However, as I go to edit>channel location and upload the *.ced file that
>>> I just created, all the electrodes weirdly fall into a spot near right eye
>>> (please see the last attachment). Would you please help me with this.
>>> I highly appreciate your help.
>>> Many thanks,
>>> Mahsa
>>> On Sat, Sep 23, 2017 at 3:40 PM, Tarik S Bel-Bahar <
>>> tarikbelbahar at gmail.com> wrote:
>>>> Hello Mahsa,
>>>> If you google "biosemi channel location files", the first link
>>>> should be Head Caps from Biosemi, and there there is a downloadable
>>>> positions file for all their caps.
>>>> From there, you should be able to make a text loc file for their 32
>>>> channel montage.
>>>> Just make a text file that is formatted like other location files that
>>>> are already in the eeglab channel locations folder (sample_locs folder),
>>>> and you should be good to go.
>>>> It should have a label, and x y z coordinates, and then eeglab should
>>>> be able to read it with no problem via the Edit>  Channel locations import
>>>> function in the eeglab gui.
>>>> If you have trouble with that, send a copy of the file you made, and
>>>> one of the eeglab channel locs files, and detail any issues you had.
>>>> On Wed, Sep 20, 2017 at 11:46 AM, mahsa shalchy <
>>>> mahsa.shalchy at gmail.com> wrote:
>>>>> Dear list,
>>>>> Could anyone kindly share ".loc" file of 32 channel layout with me? I
>>>>> failed to extract the file using Biosemi xls coordinates and unfortunately
>>>>> links that I found on the forum archive are broken.
>>>>> Many thanks,
>>>>> Mahsa
>>>>> _______________________________________________
>>>>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>>>>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.uc
>>>>> sd.edu
>>>>> For digest mode, send an email with the subject "set digest mime" to
>>>>> eeglablist-request at sccn.ucsd.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20171003/6dbe9b11/attachment-0001.html>

More information about the eeglablist mailing list