<div dir="ltr">Dear Tyler,<div><br></div><div>I'm disappearing from the list until November. This is my last reply.</div><div>Below I pasted code which is functional from my pop_groupSIFT_runSiftBatch() (Note that I use SIFT1.33). I hope this sample help you to figure out the problem.<br></div><div><br></div><div>Makoto</div><div><br></div><div><div> % compute model order selection criteria...</div><div> EEG = pop_est_selModelOrder(EEG,GUI_MODE, ...</div><div> 'modelingApproach', ...</div><div> {'Segmentation VAR' ...</div><div> 'algorithm' {'Vieira-Morf'} ...</div><div> 'winStartIdx' [] ...</div><div> 'winlen' WindowLengthSec ...</div><div> 'winstep' WindowStepSizeSec ...</div><div> 'taperfcn' 'blackmanharris' ...</div><div> 'epochTimeLims' [] ...</div><div> 'prctWinToSample' 100 ...</div><div> 'normalize' {'method' {'time' 'ensemble'}} ...</div><div> 'detrend' {'method' 'constant'} ...</div><div> 'verb' VERBOSITY_LEVEL}, ...</div><div> 'morderRange',[1 30] , ...</div><div> 'downdate',true, ...</div><div> 'runPll',[], ...</div><div> 'icselector',{'sbc' 'aic' 'fpe' 'hq'}, ...</div><div> 'winStartIdx',[], ...</div><div> 'epochTimeLims',[], ...</div><div> 'prctWinToSample',100, ...</div><div> 'plot', [], ...</div><div> 'verb', VERBOSITY_LEVEL);</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 1, 2018 at 8:23 AM Tyler Grummett <<a href="mailto:tyler.grummett@flinders.edu.au">tyler.grummett@flinders.edu.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_5340117256160435746divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Dear EEGLABers,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Im having difficulties doing something which is probably really simple, and thats specifying certain variables when calling pop_est_selModelOrder programmatically (as I am running it in a super computer). I'm trying to
specify window length ('winlen') at the very least, but found that I cant specify the window step (winstep) either.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">If I ran the code:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color:rgb(0,111,201)">EEG = pop_est_selModelOrder( EEG, 'nogui', 'verb',
</span><span style="color:rgb(0,111,201)">1</span><span style="color:rgb(0,111,201)">, ...</span></div>
<div><span style="color:rgb(0,111,201)">'winlen', 1</span><span style="color:rgb(0,111,201)">, 'prctWinToSample', 100</span><span style="color:rgb(0,111,201)">);</span></div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">I would get the error:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color:rgb(255,0,0)">Error using arg_define (line 406)</span></div>
<div><span style="color:rgb(255,0,0)">Some of the specified arguments do not appear in the argument specification;</span></div>
<div><span style="color:rgb(255,0,0)">{setname, filename, filepath, subject, group, condition, session, comments,</span></div>
<div><span style="color:rgb(255,0,0)">nbchan, trials, pnts, srate, xmin, xmax, times, data, icaact, icawinv, icasphere,</span></div>
<div><span style="color:rgb(255,0,0)">icaweights, icachansind, chanlocs, urchanlocs, chaninfo, ref, event, urevent,</span></div>
<div><span style="color:rgb(255,0,0)">eventdescription, epoch, epochdescription, reject, stats, specdata, specicaact,</span></div>
<div><span style="color:rgb(255,0,0)">splinefile, icasplinefile, dipfit, history, saved, etc, datfile, timeseries, CAT,</span></div>
<div><span style="color:rgb(255,0,0)">winlen}.</span></div>
<div><br>
</div>
<div><span style="color:rgb(255,0,0)">Error in est_selModelOrder (line 100)</span></div>
<div><span style="color:rgb(255,0,0)">g = arg_define([0 1],varargin, ...</span></div>
<div><br>
</div>
<div><span style="color:rgb(255,0,0)">Error in arg_report>arg_report_rich (line 153)</span></div>
<div><span style="color:rgb(255,0,0)"> func(args{:});</span></div>
<div><br>
</div>
<div><span style="color:rgb(255,0,0)">Error in arg_report>do_report (line 125)</span></div>
<div><span style="color:rgb(255,0,0)"> feval(['arg_report_' lower(type)],func,args,have_expeval);</span></div>
<div><br>
</div>
<div><span style="color:rgb(255,0,0)">Error in arg_report (line 93)</span></div>
<div><span style="color:rgb(255,0,0)"> res = do_report(type,func,args);</span></div>
<div><br>
</div>
<div><span style="color:rgb(255,0,0)">Error in pop_est_selModelOrder (line 104)</span></div>
<div><span style="color:rgb(255,0,0)"> cfg =</span></div>
<div><span style="color:rgb(255,0,0)"> arg_tovals(arg_report('rich',fcnHandle,[{'EEG',ALLEEG(1)},varargin]),false);</span></div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">Eventually I found that if I wrote the following code:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="color:rgb(0,111,201)">EEG.CAT.configs.est_selModelOrder = arg_tovals( arg_report( 'rich', @est_selModelOrder));</span></div>
<div>
<div><span style="color:rgb(0,111,201)">EEG.CAT.configs.est_selModelOrder.modelingApproach.winlen = 1;</span></div>
<div><br>
</div>
And then ran the code without winlen:</div>
<div><br>
</div>
<div>
<div style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
<span style="color:rgb(0,111,201)">EEG = pop_est_selModelOrder( EEG, 'nogui', 'verb', </span><span style="color:rgb(0,111,201)">1</span><span style="color:rgb(0,111,201)">, ...</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
<span style="color:rgb(0,111,201)">'prctWinToSample', 100</span><span style="color:rgb(0,111,201)">);</span></div>
<br>
</div>
then it would run without crashes, however, I feel that I shouldnt have to do that considering it says that it is one of the possible input arguments.
<p></p>
<p style="margin-top:0;margin-bottom:0">Ive also tried this variation (just to spitball):</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
<span style="color:rgb(0,111,201)">EEG = pop_est_selModelOrder( EEG, 'nogui', 'verb', </span><span style="color:rgb(0,111,201)">1</span><span style="color:rgb(0,111,201)">, ...</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
<span style="color:rgb(0,111,201)">'modelingApproach', { 'winlen', 1}, 'prctWinToSample', 100</span><span style="color:rgb(0,111,201)">);</span></div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">but that obviously didnt work.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I would appreciate any help on this! Let me know if you need me to write a bug report on this.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Kind regards,</p>
<p style="margin-top:0;margin-bottom:0">Tyler</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="m_5340117256160435746Signature">
<div id="m_5340117256160435746divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<div name="divtagdefaultwrapper">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-size:13px">*************************
<div style="font-family:Tahoma"><br>
</div>
<div><font face="Arial"><i>Tyler Grummett ( BBSc, BSc(Hons I))</i></font></div>
<div><font face="Arial"><i>PhD Candidate</i></font></div>
<div><font face="Arial"><i>Brain Signals Laboratory</i></font></div>
<div><font face="Arial"><i>Multimodal Recording Facility</i></font></div>
<div><font face="Arial"><i>Flinders University Tonsley Building</i></font></div>
<div><font face="Arial"><i>Rm 4.17</i></font></div>
<div><font face="Arial"><i>Ext 19573</i></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div></div>