[Eeglablist] SIFT functions example

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Thu Jul 23 12:29:30 PDT 2015


Dear Mostafa,

Under the folder [root]/eeglab/plugins/SIFT1.33/scripts, you can find Tim's
'ScriptingExample.m' and other files. These files are USEFUL.

Tim is a great programmer. When you see his example code, you'll see how
carefully he develops code; it's not only efficient but also for visually
organized.

Makoto

On Sat, Jul 11, 2015 at 2:52 AM, Mostafa IR <mostafa.rouzbahani at gmail.com>
wrote:

> Hi eeglab
>
> I want to use SIFT function without GUI. I read the functions help and all
> of them say that the functions available at <'name' , value> pairs. But it
> doesn't work for me and I couldn't to find any examples on internet. For
> example for preprocessing I write this script:
>
> EEG = pre_prepData(EEG,'selectComponents','2 3');
>>
>
> but after processing all of my components still keep. When I use two pair
> for option I got an error.
>
>  EEG = pre_prepData(EEG,'VerbosityLevel',0,'SelectComponents',num2str(a));
>> Error using arg_define (line 406)
>> Some of the specified arguments do not appear in the argument
>> specification;
>> {SelectComponents}.
>>
>> Error in pre_selectcomps (line 74)
>> g = arg_define([0 1],varargin, ...
>>
>> Error in arg_report>arg_report_lean (line 160)
>>     func(args{:});
>>
>> Error in arg_report>do_report (line 125)
>>     feval(['arg_report_' lower(type)],func,args,have_expeval);
>>
>> Error in arg_report (line 93)
>>     res = do_report(type,func,args);
>>
>> Error in arg_sub>assign_argsub (line 203)
>>         spec.children = arg_report(reptype,source,[default,value]);
>>
>> Error in
>>
>> arg_sub>@(spec,value)assign_argsub(spec,value,reptype,source,defaults,suppressNames)
>> (line 192)
>> spec.assigner = @(spec,value)
>> assign_argsub(spec,value,reptype,source,defaults,suppressNames);
>>
>> Error in arg_define (line 432)
>>             spec(idx) = spec(idx).assigner(spec(idx),nvps{k+1});
>>
>> Error in pre_prepData (line 191)
>> g = arg_define([0 Inf], varargin, ...
>
>
>>
>
> I will be appreciate if you could help me with some examples.
>
> Thank You
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>



-- 
Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150723/e9aff9c8/attachment.html>


More information about the eeglablist mailing list