<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Hi,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><font face="arial, helvetica, sans-serif" size="2">i am writing my script to run ica, and open the "reject components by map"  simply as follow:</font></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2"><div><span style="font-weight: bold; font-style: italic;">EEG = pop_runica(EEG,'icatype','runica');</span></div><div><span style="font-weight: bold; font-style: italic;">[ALLEEG EEG] = eeg_store(ALLEEG, EEG, CURRENTSET);</span></div><div><span><span style="font-style: italic; font-weight: bold;">EEG = eeg_checkset( EEG );</span><br></span></div><div><span style="font-weight:
 bold; font-style: italic;">pop_selectcomps(EEG, [1:size(EEG.icaweights,1)] );</span><br></div><div><br></div><div><br></div></font></div><div><span><span><span><span style="font-family: arial, helvetica, sans-serif; font-size: 13px;">by running these lines, i select the bad components (accept --> reject) manually. </span></span><span><span><span><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; font-style: italic; font-weight: bold;"> my problem is i don't know  which variable has rejected components number? </span></span></span></span></span></span></div><div><span><span><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; font-weight: bold; font-style: italic; "><br></span></span></span></div><div><span><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; font-weight: bold; font-style: italic; ">How can i </span><span
 style="font-family: arial, helvetica, sans-serif; font-size: 13px;">find  the rejected components numbers i order to remove them by recalling <span style="font-style: italic;">pop_selectcomps</span> like:   </span></span><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; font-style: italic; font-weight: bold; ">pop_selectcomps(EEG, rejected_comp );</span></div><div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; font-style: italic; font-weight: bold; "><br></span></div><div><span style="font-family: arial, helvetica, sans-serif; font-size: 13px; ">thanks</span></div></div></body></html>