<div dir="ltr">Dear list,<div><br></div><div>I've run ICA on a cleaned sets of data and then subtracted the components representing artifacts.  I'm now trying to copy the ICA results for each subject into a different data set, but it isn't working - the ICA fields are copied successfully, but the channel data are unaffected by ICA (i.e. the removed ICs are still present in the data).  </div><div><br></div><div>Here's the code, where ALLEEG(1) is the data set with ICA applied and with components removed, and ALLEEG(2) is the data set that I would like to apply the ICA results to.</div><div><br></div><div>ALLEEG(2).icaact = ALLEEG(1).icaact;</div><div>ALLEEG(2).icawinv = ALLEEG(1).icawinv;</div><div>ALLEEG(2).icasphere = ALLEEG(1).icasphere;</div><div>ALLEEG(2).icaweights = ALLEEG(1).icaweights;</div><div>ALLEEG(2).icachansind = ALLEEG(1).icachansind;</div><div>ALLEEG(2).etc = ALLEEG(1).etc;</div><div>ALLEEG(2) = eeg_checkset(ALLEEG(2));</div><div><br></div><div>Can anyone tell me where I'm going wrong?</div><div><br></div><div>Thanks!</div><div>Becky</div><div><div><div dir="ltr"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">______________________________</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">______________</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Becky Gilbert (nee Prince)</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">PhD Researcher</span><div><br></div><div><a href="http://www.york.ac.uk/psychology/staff/postgrads/becky.gilbert/" target="_blank">http://www.york.ac.uk/psychology/staff/postgrads/becky.gilbert/</a><br></div><div>Lab C120<br><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Department of Psychology</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">University of York</span><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Heslington, York, YO10 5DD, UK</span><br></div></div></div></div></div>
</div></div>