<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><title></title><head><meta http-equiv="Content-type" content="text/html; charset=UTF-8" /><style type="text/css"> html, body {overflow-x: visible; } html { width:100%; height:100%;margin:0px; padding:0px; overflow-y: auto; overflow-x: auto; }body { font-size: 100.01%; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; background-color:transparent; overflow:show; background-image:none; margin:0px; padding:5px; }p { margin:0px; padding:0px; } body { font-size: 12px; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; } p { margin: 0; padding: 0; } blockquote { padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; } blockquote.quote { border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; } .misspelled { background: transparent url(//webmailerng.1und1.de/static_resource/mailclient/widgets/basic/parts/maileditor/spellchecking_underline.gif) repeat-x scroll center bottom; } .correct {} .unknown {} .ignored {}</style></head><body id="bodyElement" style="">
<p>Dear Fieldtrip user,<span></span></p><p id="__paragraph__1289922033000" style=""><br><span style=""></span></p><p id="__paragraph__1289922033000" style=""><span style="">I used for my EEG-Data ICA to detect eye blinks. I remove the bad components and get 'cleaned' trials. </span><span></span></p><p id="__paragraph__1289922458000" style=""><span style="">After ICA I want to use artifact correction for muscle artifacts, with following inputs:</span><span></span></p><p id="__paragraph__1289922707000" style=""><br><span style=""></span></p><p id="__paragraph__1289922707000" style=""><span style="">DataAfterICATest = <br><br> label: {128x1 cell}<br> fsample: 1000<br> trial: {1x39 cell}<br> time: {1x39 cell}<br><br>trl = DataAfterICATest.sampleinfo<br><br>sampleinfo: [39x2 double]<br><br><br>cfg=[];<br>cfg.trl = trl<br>cfg.artfctdef.muscle.trlpadding = 0.1<br>cfg.artfctdef.muscle.sgn = 'EEG'; % selection of valid channels<br>cfg.artfctdef.muscle.bpfreq = [110 140];<br>cfg.artfctdef.muscle.cutoff = 4; % default = 4<br>cfg = ft_artifact_muscle(cfg,DataAfterICATest); % automatic muscle activity rejection</span><span></span></p><p id="__paragraph__1289922761000" style=""><br><span style=""></span></p><p id="__paragraph__1289922761000" style=""><span style="">I get following errors:</span></p><p id="__paragraph__1289922761000" style=""><br><span style=""></span></p><p id="__paragraph__1289922761000" style=""><span style="">Error in ==> ft_fetch_data at 109<br> count = count(begsample:endsample);<br><br>Error in ==> ft_artifact_zvalue at 163<br> dat{trlop} = ft_fetch_data(data, 'header', hdr, 'begsample', trl(trlop,1)-fltpadding, 'endsample',<br> trl(trlop,2)+fltpadding, 'chanindx', sgnind, 'checkboundary', strcmp(cfg.continuous,'no')<br>Error in ==> ft_artifact_muscle at 152<br> [tmpcfg, artifact] = ft_artifact_zvalue(tmpcfg, data);</span><span></span></p><p id="__paragraph__1289922902000" style=""><br><span style=""></span></p><p id="__paragraph__1289922902000" style=""><span style="">Have somebody experience with artifact correction after ICA or with trials?</span><span></span></p><p id="__paragraph__1289923192000" style=""><br><span style=""></span></p><p id="__paragraph__1289923192000" style=""><br><span style=""></span></p><p id="__paragraph__1289923192000" style=""><span style="">Best regards,</span><span></span></p><p id="__paragraph__1289923205000" style=""><br><span style=""></span></p><p id="__paragraph__1289923205000" style=""><span style="">Cerisa Stawowsky<br></span></p><basefont size="2" face="Verdana"><span id="editor_signature"></span></body></html>
<p>---------------------------------------------------------------------------
You are receiving this message because you are subscribed to <br>
the FieldTrip list. The aim of this list is to facilitate the discussion <br>
between users of the FieldTrip toolbox, to share experiences <br>
and to discuss new ideas for MEG and EEG analysis. <br>
See also http://listserv.surfnet.nl/archives/fieldtrip.html <br>
and http://www.ru.nl/neuroimaging/fieldtrip.<br>
---------------------------------------------------------------------------</p>