[Eeglablist] PCA inquiry

Joseph Dien jdien07 at mac.com
Thu Jul 30 12:59:57 PDT 2026


Just to clarify, George is using a script someone in his lab (apparently 
no longer available) made to use a combination of EEGlab and EP Toolkit 
functions to perform the two-step PCA procedure.  The latter part is 
irrelevant.  He ran into an error with the EEGlab function 
pop_chanedit.  It wasn't recognizing his .xyzloc files, whatever they are.

Cheers!

Joe

On 7/29/26 19:25, Makoto Miyakoshi via eeglablist wrote:
> Hi George,
>
> Is that temporospatial PCA some kind of EEGLAB plugin or external
> application connected to it? If you are still looking for a solution,
> please point me to the tool you want to use.
>
> Makoto
>
> On Tue, Jul 14, 2026 at 5:10 PM Ghorayeb, George Ryan via eeglablist <
> eeglablist at sccn.ucsd.edu> wrote:
>
>> Greetings,
>>
>> I am writing to request your assistance regarding an issue I have
>> encountered while attempting to perform a temporospatial PCA using EEGLab.
>> Specifically, when trying to carry out the PCA on our dataset, I am unable
>> to proceed beyond the step requiring the upload of a .xyzloc file. Each
>> time I attempt to upload the file, I receive the following error message:
>>
>> Error using readlocs>load_file_or_array
>> readlocs(): cannot find the named file or variable, check syntax
>>
>> Error in readlocs (line 529)
>>             array = load_file_or_array( filename, g.skiplines);
>>
>> Error in pop_chanedit (line 760)
>>                          [chans] = readlocs(tmpargs{:});
>>
>> Error in Import_text_veps (line 36)
>> EEG = pop_chanedit(EEG,'load',{xyzLoc, 'filetype', 'xyz'},'delete',d);
>>
>> Error in PCAMakeStudy (line 82)
>>      Import_text_veps(text_paths{j},[textfileworkspace
>> '\'],setfilepathname,...
>>
>>
>> I have consulted several online resources and tried multiple
>> troubleshooting approaches, but I have not been able to resolve the issue.
>>
>> I would be very grateful if you could advise me on the appropriate steps
>> to address this problem or suggest any potential causes that I should
>> investigate.
>>
>> Thank you very much for your time and assistance. I greatly appreciate
>> your help.
>>
>>
>> Kind regards,
>>
>> George
>>
>>
>>
>> _____________________
>>
>> George Ryan Ghorayeb
>>
>> He/him/his
>>
>> Research Assistant II, Division of Cognitive and Behavioral Neurology
>>
>> Center for Brain/Mind Medicine
>>
>>
>>
>> Brigham and Women’s Hospital
>>
>> 60 Fenwood Road, 9016D, Boston, MA 02115
>>
>> T 6177328825, F 8573075461
>>
>> brighamandwomens.org
>>
>>
>>
>> [A blue and black logo  Description automatically generated]
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is addressed.  If you believe this e-mail was sent to you in error and the
>> e-mail contains patient information, please contact the Mass General
>> Brigham Compliance HelpLine at
>> https://urldefense.com/v3/__https://www.massgeneralbrigham.org/complianceline__;!!Mih3wA!HtaDSGK01WAdL0r74WG0wRonvJcuIk4hhu2HkWZcZVwRGI2LM8YEcpHuNuB4B3uUpeyRqTi08MOlPE25j7CJaDgiURw94Ts0$
>> <
>> https://urldefense.com/v3/__https://www.massgeneralbrigham.org/complianceline__;!!Mih3wA!HtaDSGK01WAdL0r74WG0wRonvJcuIk4hhu2HkWZcZVwRGI2LM8YEcpHuNuB4B3uUpeyRqTi08MOlPE25j7CJaDgiURw94Ts0$
>>> .
>> _______________________________________________
>> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu or visit
>> https://sccn.ucsd.edu/mailman/listinfo/eeglablist   .
>>
> _______________________________________________
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu or visit https://sccn.ucsd.edu/mailman/listinfo/eeglablist .

-- 
--------------------------------------------------------------------------------

Joseph Dien, PhD
Senior Research Scientist
Department of Human Development and Quantitative Methodology
University of Maryland, College Park
https://urldefense.com/v3/__http://joedien.com__;!!Mih3wA!DNHX2KT4sYqPcuK-2JUqD_c9rw-IUy9gi4tESNl-Dz9pnGY-6BJi6wlFrjSDmuj0N_SnMn5-mjIQLsTfCuk$ 



More information about the eeglablist mailing list