[Eeglablist] Channel locations gone after reading locations

Sebastian Sauppe sauppe.s at gmail.com
Fri Nov 5 14:01:48 PDT 2021


The source of the problem was that the channel locations file that I used (https://urldefense.proofpoint.com/v2/url?u=https-3A__bitbucket.org_palday_biosemi128_src_master_biosemi128.ced&d=DwIFaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=FZCXwPqZXA7Ezt6vemkIp2iS33KQj6t4TdZzNjVbfOZ6Vod0FnRUiQNVMC7jGPgU&s=-1q-TcQwdzOKdqQOSUc0LGra7Vu-90skw38rgP_Q7QU&e= ; based on BioSemi’s coordinates, https://urldefense.proofpoint.com/v2/url?u=https-3A__www.biosemi.com_headcap.htm&d=DwIFaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=FZCXwPqZXA7Ezt6vemkIp2iS33KQj6t4TdZzNjVbfOZ6Vod0FnRUiQNVMC7jGPgU&s=0sirpTIDD95_SwF2yOzWcxPjBB2JmAAyDsjnERNiVEA&e= ) had one channel more than my dataset. The STATUS channel was not used in my dataset but in the locations file. So I created a new version of the locations file that had the STATUS channel deleted. And then it worked to load the channel locations.

> Am 13.10.2021 um 23:30 schrieb Jacobsen,Noelle A <jacobsen.noelle at ufl.edu>:
> 
> Sebastian,
> 
> Does the command window display something like "Number of channels does not match. Channel location information has been removed"?
> 
> If so, this is an issue I encountered as well. When get_chanlocs runs EEG= EEG_checkset(EEG), it finds that the number of channel locations does not match the expected number of channels. This is because fiducial locations are being added to EEG.chanlocs, which increases the total number of channels by 3. This mismatch causes issues with EEG. I edited get_chanlocs so that the fiducials will be moved elsewhere, outside of EEG.chanlocs.
> 
> Best,
> Noelle 
> 
> -----Original Message-----
> From: eeglablist <eeglablist-bounces at sccn.ucsd.edu> On Behalf Of Sebastian Sauppe via eeglablist
> Sent: Wednesday, October 6, 2021 10:45 AM
> To: List EEGLAB <eeglablist at sccn.ucsd.edu>
> Subject: Re: [Eeglablist] Channel locations gone after reading locations
> 
> [External Email]
> 
> Thanks. Yes, this is in fact what I did (see my description of the steps that I tried) while still encountering the problem.
> 
>> Am 06.10.2021 um 16:42 schrieb Nilo Sarraf <nilo.sarraf at yahoo.com>:
>> 
>> Have you tried saving the sensor location manual yourself and then 
>> directing your software to the CED file? I did a YouTube video on this 
>> recently at a very high level though 👇
>> In brainwaves analysis what do these file formats mean? CED, EDF, CSV 
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_a-2DXRn
>> 7-5FL3Hk&d=DwIFaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKi
>> QyNm1p6x6e36h3EglE&m=e5D9QQpHhSYgwDnqOnO4Mo1NJgaN0Gi2gONqgt9EKzw&s=o5z
>> qmk5lsmtuNpNDTJswTCIId2Gu-wwmx95afs_wxXc&e= >
>> 
>> 
>> In brainwaves analysis what do these file formats mean? CED, EDF, CSV 
>> By Dr. Nilo
>> 
>> 
>> 
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__youtu.be_a-2DXRn
>> 7-5FL3Hk&d=DwIFaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKi
>> QyNm1p6x6e36h3EglE&m=e5D9QQpHhSYgwDnqOnO4Mo1NJgaN0Gi2gONqgt9EKzw&s=o5z
>> qmk5lsmtuNpNDTJswTCIId2Gu-wwmx95afs_wxXc&e= >
>> 
>> 
>> 
>> 
>> 
>> 
>> Sent from Yahoo Mail for iPhone 
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__overview.mail.ya
>> hoo.com_-3F.src-3DiOS&d=DwIFaQ&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQ
>> pM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=e5D9QQpHhSYgwDnqOnO4Mo1NJgaN0Gi2gONq
>> gt9EKzw&s=vA60iEJRoCjxlpb0cC2Uj0tYmpwSyIrH0qFrWKMf-6s&e= >
>> 
>> On Wednesday, October 6, 2021, 7:23 AM, Sebastian Sauppe via eeglablist <eeglablist at sccn.ucsd.edu <mailto:eeglablist at sccn.ucsd.edu>> wrote:
>> 
>> Dear EEGLAB community,
>> 
>> I work on Biosemi BDF files and encounter a problem when adding the channel locations.
>> 
>> I first import the file with
>> 
>> EEG = pop_biosig("file.bdf", 'importannot','off','ref',1);
>> 
>> Then I want to add the channel locations via Edit > Channel locations 
>>> Read locations, using this .ced file: 
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__bitbucket.org_pal
>> day_biosemi128_src_master_biosemi128.ced&d=DwIFaQ&c=-35OiAkTchMrZOngvJ
>> POeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=7vxjQgYhvCzqHoNLL
>> K0zsDHTSpOcz9PkGVrVLuuShtg&s=ynDwXyj8lZ5QhPjBBzEyBuLcpNlhakmdXKCpw4D9w
>> bs&e=  
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__bitbucket.org_pa
>> lday_biosemi128_src_master_biosemi128.ced&d=DwIFaQ&c=-35OiAkTchMrZOngv
>> JPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=7vxjQgYhvCzqHoNL
>> LK0zsDHTSpOcz9PkGVrVLuuShtg&s=ynDwXyj8lZ5QhPjBBzEyBuLcpNlhakmdXKCpw4D9
>> wbs&e=>
>> 
>> This adds the channel locations, I can see that when plotting the channel locations (both 2D and 3D).
>> 
>> However, when I close the window, the channel locations are gone. When I open the Channel locations window again, I am back to where I was before with no locations present. The same happens when I do it via the command:
>> 
>> EEG = pop_chanedit(EEG,...
>>    'lookup','eeglab2020_0/plugins/dipfit4.3/standard_BESA/standard-10-5-cap385.elp','rplurchanloc',1,...
>>    'load',{'biosemi128.ced','filetype','autodetect'});
>> 
>> Also when I first import the locations and then save them as a .loc file and then later use this .loc file for reading in the locations (again), they are gone after I click on „ok“.
>> 
>> Does anyone know how to solve this? Any lead would be highly appreciated.
>> 
>> Kind regards,
>> Sebastian
>> 
>> _______________________________________________
>> Eeglablist page: 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__sccn.ucsd.edu_eegl
>> ab_eeglabmail.html&d=DwIGaQ&c=sJ6xIWYx-zLMB3EPkvcnVg&r=D6vo-sTwTKQ4CnE
>> Tni9CUC32PkfvCsmxJRnYG2rwADQ&m=P6VbYdnfbE_vCaakXquFl2AhdhSxtMTP608GxeV
>> 27GI&s=ivnpsmtB1MESmy2V1mULjhaMg_ILFtA9u87yYa3nHek&e=  
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__sccn.ucsd.edu_eeg
>> lab_eeglabmail.html&d=DwIGaQ&c=sJ6xIWYx-zLMB3EPkvcnVg&r=D6vo-sTwTKQ4Cn
>> ETni9CUC32PkfvCsmxJRnYG2rwADQ&m=P6VbYdnfbE_vCaakXquFl2AhdhSxtMTP608Gxe
>> V27GI&s=ivnpsmtB1MESmy2V1mULjhaMg_ILFtA9u87yYa3nHek&e= > To 
>> unsubscribe, send an empty email to 
>> eeglablist-unsubscribe at sccn.ucsd.edu 
>> <mailto:eeglablist-unsubscribe at sccn.ucsd.edu>
>> For digest mode, send an email with the subject "set digest mime" to 
>> eeglablist-request at sccn.ucsd.edu 
>> <mailto:eeglablist-request at sccn.ucsd.edu>
> _______________________________________________
> Eeglablist page: https://urldefense.proofpoint.com/v2/url?u=http-3A__sccn.ucsd.edu_eeglab_eeglabmail.html&d=DwIGaQ&c=sJ6xIWYx-zLMB3EPkvcnVg&r=D6vo-sTwTKQ4CnETni9CUC32PkfvCsmxJRnYG2rwADQ&m=P6VbYdnfbE_vCaakXquFl2AhdhSxtMTP608GxeV27GI&s=ivnpsmtB1MESmy2V1mULjhaMg_ILFtA9u87yYa3nHek&e=
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu




More information about the eeglablist mailing list