Re: [Erppcatoolkit-support] different average conditions per participant
Brought to you by:
jdien
From: Joseph D. <jd...@ma...> - 2013-12-28 19:45:02
|
Oops! I’ll have a fix out to you tomorrow. I’m in the final stages of posting a new release and will include the fix as part of it. Thanks for the report! Joe On Dec 28, 2013, at 4:33 AM, Maria Serena Panasiti <m.s...@gm...> wrote: > Dear Joe, > > it worked perfectly, thank you very much. Unfurtunaltely I am having a new problem: I run the first step temporal PCA and everything goes fine, when I then try to run the spatial pca on the temporal PCA factors I get this error: > > ??? Reference to non-existent field 'recTime'. > > Error in ==> ep_doPCA at 879 > FactorResults.recTime=theData.recTime; > > Error in ==> ep_doPCAst at 339 > [stFactorResults] = ep_doPCA('asis', ROTATION, ROTOPT, MAT_TYPE, NUM_FAC, theData, LOADING); > > Error in ==> ep>pickPCAdata at 5593 > FactorResults = ep_doPCAst(theData.pca, 'UNRT', EPmain.pca.rotopt, PCArel, 1, PCAloading,PCAmode); %scree test only > needs unrotated solution > > ??? Error while evaluating uicontrol Callback > > > If I put a comment before this part of the ep_doPCA script: > > %FactorResults.recTime=theData.recTime; > > then the the scree test works, and the spatial PCA (Infomax rotation) actually starts but at the very end I get this error: > > Done with reconstructing PCA waveforms... > ??? Index exceeds matrix dimensions. > > Error in ==> ep_addToEPworkCache at 123 > minFac=min(min(min(EPdata.data(EEGchans,:,theCell,theSub,theFactor,:)))); > > Error in ==> ep_saveEPdataset at 75 > newDataset=ep_addToEPworkCache(EPdata); > > Error in ==> ep>pickPCAdata at 5730 > EPdataset=ep_saveEPdataset(EPdataset,PCAoutput,length(EPdataset.dataset)+1,'no'); > > ??? Error while evaluating uicontrol Callback > > The same thing happens if i try to run the spatial PCA on the average data. > > I am using Matlab 2007b but I have also try Matlab 2011 > Eeglab 8_3 > Fieldtrip lite last version available > > I thank you in advance for your help and apologize if the question is too basic, I've tried to solve the problem by reading the tutorial but I couldn't figure it out. > > Best wishes, > > Serena > > > > On 15 December 2013 07:51, Joseph Dien <jd...@ma...> wrote: > I’m going to assume that you are using a file format like Neuroscan .AVG where each condition of each subject is a separate file. If so, use the Single File option of the Read function to import them (see documentation). It’ll form a single file in which each subject and each condition is separate but are all held in a single file for convenience sake. > > Cheers! > > Joe > > > On Dec 14, 2013, at 4:56 AM, Maria Serena Panasiti <m.s...@gm...> wrote: > >> Dear All, >> >> I have just downloaded the toolkit to perform PCA on my averaged data. I am struggling to understand how I can keep my experimental conditions separeted when I read my data on the toolkit. >> >> I have two experimental conditions for each subject. I glued all of the averages together in the edit window (append function); I gave the same subject name to the two experimental conditions averages and assigned them a weight of : >> >> weight name >> 1 sub001 (This would be: AVg condtion1 subject1) >> 1 sub001 (This would be: AVg condtion2 subject1) >> 1 sub002 (This would be: AVg condtion1 subject2) >> 1 sub002 (This would be: AVg condtion2 subject2) >> 1 sub003 (This would be: AVg condtion1 subject3) >> 1 sub003 (This would be: AVg condtion2 subject3) >> >> >> >> When I run the PCA, the toolkit treats each raw as a single participant (in the command window it would count up to six in this case) >> So I was wondering if this was the right way to feed the program with different averages per conditions. >> >> As I understood PCA I should need to keep conditions separated but please tell me if I am wrong. >> >> Any help would be very much appreciated. >> >> Best wishes, >> >> Serena >> >> >> >> -- >> Maria Serena Panasiti, Ph.D >> >> Cognitive Social and Affective Neuroscience Lab >> Department of Psychology. >> University of Rome "La Sapienza". >> Via dei Marsi 78 - 00185 - Roma. >> Phone: (+39) 06-49917635. Fax: (+39) 06-49917635 >> >> School of Psychology & Clinical Language Sciences >> University of Reading >> Reading, United Kingdom >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk_______________________________________________ >> Erppcatoolkit-support mailing list >> Erp...@li... >> https://lists.sourceforge.net/lists/listinfo/erppcatoolkit-support > > > -------------------------------------------------------------------------------- > > Joseph Dien, > Senior Research Scientist > Maryland Neuroimaging Center > University of Maryland > > E-mail: jd...@ma... > Phone: 202-297-8117 > http://joedien.com > > > > > > > > > > > > > > > > > > -- > Maria Serena Panasiti, Ph.D > > Cognitive Social and Affective Neuroscience Lab > Department of Psychology. > University of Rome "La Sapienza". > Via dei Marsi 78 - 00185 - Roma. > Phone: (+39) 06-49917635. Fax: (+39) 06-49917635 > > School of Psychology & Clinical Language Sciences > University of Reading > Reading, United Kingdom |