plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | lcnbeapp/beapp-master | eegplugin_firfilt.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/eegplugin_firfilt.m | 2,667 | utf_8 | 681ba5e0933cafd6bb95672f910816cd | % eegplugin_firfilt() - EEGLAB plugin for filtering data using linear-
% phase FIR filters
%
% Usage:
% >> eegplugin_firfilt(fig, trystrs, catchstrs);
%
% Inputs:
% fig - [integer] EEGLAB figure
% trystrs - [struct] "try" strings for menu callbacks.
% catchstrs - [struct] "catc... |
github | lcnbeapp/beapp-master | windows.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/windows.m | 2,876 | utf_8 | 581c2f660f641935667a234f9b024f3a | % windows() - Returns handle to window function or window
%
% Usage:
% >> h = windows(t);
% >> h = windows(t, m);
% >> h = windows(t, m, a);
%
% Inputs:
% t - char array 'rectangular', 'bartlett', 'hann', 'hamming',
% 'blackman', 'blackmanharris', or 'kaiser'
%
% Optional inputs:
% m - scalar window len... |
github | lcnbeapp/beapp-master | pop_firpmord.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/pop_firpmord.m | 3,145 | utf_8 | f4dae3b8e73f8ab3d73c2d207506ddd8 | % pop_firpmord() - Estimate Parks-McClellan filter order and weights
%
% Usage:
% >> [m, wtpass, wtstop] = pop_firpmord(f, a); % pop-up window mode
% >> [m, wtpass, wtstop] = pop_firpmord(f, a, dev);
% >> [m, wtpass, wtstop] = pop_firpmord(f, a, dev, fs);
%
% Inputs:
% f - vector frequency band edges
% ... |
github | lcnbeapp/beapp-master | firfilt.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/firfilt.m | 4,262 | utf_8 | d5703bbd52180bfb0661e6db5e649967 | % firfilt() - Pad data with DC constant, filter data with FIR filter,
% and shift data by the filter's group delay
%
% Usage:
% >> EEG = firfilt(EEG, b, nFrames);
%
% Inputs:
% EEG - EEGLAB EEG structure
% b - vector of filter coefficients
%
% Optional inputs:
% nFrames -... |
github | lcnbeapp/beapp-master | pop_firws.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/pop_firws.m | 10,634 | utf_8 | 830347cf85c318140462a11e9257b53b | % pop_firws() - Filter data using windowed sinc FIR filter
%
% Usage:
% >> [EEG, com, b] = pop_firws(EEG); % pop-up window mode
% >> [EEG, com, b] = pop_firws(EEG, 'key1', value1, 'key2', ...
% value2, 'keyn', valuen);
%
% Inputs:
% EEG - EEGLAB EEG structure
% 'fcutoff' - v... |
github | lcnbeapp/beapp-master | plotfresp.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/plotfresp.m | 3,898 | utf_8 | 71a74a912328b37353e1523b662840fa | % plotfresp() - Plot FIR filter's impulse, step, frequency, magnitude,
% and phase response
%
% Usage:
% >> plotfresp(b, a, n, fs);
%
% Inputs:
% b - vector filter coefficients
%
% Optional inputs:
% a - currently unused, reserved for future compatibility with IIR
% filters {defaul... |
github | lcnbeapp/beapp-master | pop_firwsord.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/pop_firwsord.m | 5,354 | utf_8 | 5150d668b377feb0d9e95b49486978ca | % pop_firwsord() - Estimate windowed sinc filter order depending on
% window type and requested transition band width
%
% Usage:
% >> [m, dev] = pop_firwsord; % pop-up window mode
% >> m = pop_firwsord(wtype, fs, df);
% >> m = pop_firwsord('kaiser', fs, df, dev);
%
% Inputs:
% wtype - char arra... |
github | lcnbeapp/beapp-master | pop_kaiserbeta.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/pop_kaiserbeta.m | 2,315 | utf_8 | 9a8a6636653865493068a0e901deeda6 | % pop_kaiserbeta() - Estimate Kaiser window beta
%
% Usage:
% >> [beta, dev] = pop_kaiserbeta; % pop-up window mode
% >> beta = pop_kaiserbeta(dev);
%
% Inputs:
% dev - scalar maximum passband deviation/ripple
%
% Output:
% beta - scalar Kaiser window beta
% dev - scalar maximum passband devi... |
github | lcnbeapp/beapp-master | findboundaries.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/firfilt1.6.2/findboundaries.m | 1,867 | utf_8 | b4b28dadb5f28c802c41266f791d942c | % findboundaries() - Find boundaries (data discontinuities) in event
% structure of continuous EEG dataset
%
% Usage:
% >> boundaries = findboundaries(EEG.event);
%
% Inputs:
% EEG.event - EEGLAB EEG event structure
%
% Outputs:
% boundaries - scalar or vector of boundary event latencies... |
github | lcnbeapp/beapp-master | publishPrepReport.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/publishPrepReport.m | 4,425 | utf_8 | 9f98d6c9dcde40a27e2900462a4d1e07 | function [] = publishPrepReport(EEG, summaryFilePath, sessionFilePath, ...
consoleFID, publishOn)
% Create a published report from the PREP pipeline.
%
% Note: In addition to creating a report for the EEG, it appends a
% summary of the file to an existing summary file. This enables the
... |
github | lcnbeapp/beapp-master | pop_prepPipeline.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/pop_prepPipeline.m | 3,412 | utf_8 | e1766caf90a400f64abf54ba1dcad5ce | % pop_prepPipeline() - runs the early stage pipeline to reference and to
% detect bad channels
%
% Usage:
% >> [OUTEEG, com] = pop_prepPipeline(INEEG, params);
%
% Inputs:
% INEEG - input EEG dataset
% params - structure with parameters to override defaults
%
% Outputs:
% OUTEEG - output dataset
%
% See a... |
github | lcnbeapp/beapp-master | eegplugin_prepPipeline.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/eegplugin_prepPipeline.m | 1,689 | utf_8 | 06dc5f28bddeffcf9c683c28e7f4c4ff | % eegplugin_prepPipeline() - a wrapper to the prepPipeline, which does early stage
%
% Usage:
% >> eegplugin_prepPipeline(fig, try_strings, catch_strings);
%
% see also: prepPipeline
% Author: Kay Robbins, with contributions from Nima Bigdely-Shamlo, Tim Mullen, Christian Kothe, and Cassidy Matousek.
% This prog... |
github | lcnbeapp/beapp-master | changeType.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/interface/changeType.m | 1,591 | utf_8 | bad5e083eb85339d29a5c24752076bd8 | %% *****************************changeType*********************************
%Purpose:
% This function changes the data type of the parameters returned by
% the inputgui function. It allows the parameters to be used as the
% correct default type.
%Parameters:
% I params Structure of p... |
github | lcnbeapp/beapp-master | displayErrors.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/interface/displayErrors.m | 1,092 | utf_8 | 4a6169558283702bcb7068f0320f3497 | %% *****************************displayErrors******************************
%Purpose:
% This returns the errors (if any) that are found when a user enters
% data that does not correspond with the type found by the default
% function. It displays the errors in a pop-up GUI.
%Parameters:
% I err... |
github | lcnbeapp/beapp-master | loadDefaults.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/interface/loadDefaults.m | 1,266 | utf_8 | 9284af1e1bf7539c9327797a6483466e | %% *****************************loadDefaults*******************************
%Purpose:
% Loads the default values from the signal to put into the GUI.
%Parameters:
% I signal Structure from the EEG data set signal.
% I tags Cell array listing the names of the parameters.
% ... |
github | lcnbeapp/beapp-master | findNoisyChannels.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/utilities/findNoisyChannels.m | 18,209 | utf_8 | 959269765651c0faf04e2fe5e5970cc0 | function noisyOut = findNoisyChannels(signal, noisyIn)
% Identify bad channels in EEG using a two-stage approach
%
% reference = findNoisyChannels(signal)
% reference = findNoisyChannels(signal, reference)
%
% First remove bad channels by amplitude, noise level, and correlation
% Apply ransac after these channels have... |
github | lcnbeapp/beapp-master | getPipelineDefaults.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/utilities/getPipelineDefaults.m | 13,856 | utf_8 | e5ca669768d51d81aa1c2c1fc75f2890 | function defaults = getPipelineDefaults(signal, type)
% Returns the defaults for a given step in the standard level 2 pipeline
%
% Parameters:
% signal a structure compatible with EEGLAB EEG structure
% (must have .data and .srate fields
% type a string indicating type of default... |
github | lcnbeapp/beapp-master | spherical_interpolate.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/utilities/private/spherical_interpolate.m | 4,083 | utf_8 | fb9968c02ce1ce52a721e5a69a0679ae | function [W, Gss, Gds, Hds] = ...
spherical_interpolate(src, dest, lambda, order, type, tol)
% Caclulate an interpolation matrix for spherical interpolation
%
% W = sphericalSplineInterpolate(src, dest, lambda, order, type, tol)
%
% Inputs:
% src - [3 x N] old electrode positions
% dest - [3 x M] new electr... |
github | lcnbeapp/beapp-master | filter_fast.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/utilities/private/filter_fast.m | 5,932 | utf_8 | 7bd0d7a6eb2f56ea6ba352a602ddba6b | function [X,Zf] = filter_fast(B,A,X,Zi,dim)
% Like filter(), but faster when both the filter and the signal are long.
% [Y,Zf] = filter_fast(B,A,X,Zi,Dim)
%
% Uses FFT convolution. The function is faster than filter when approx. length(B)>256 and
% size(X,Dim)>1024, otherwise slower (due size-testing overhead).
%
% See... |
github | lcnbeapp/beapp-master | calculateSpectrum.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/reporting/calculateSpectrum.m | 18,986 | utf_8 | c31339bc182ac61b1e7ba1e5a90429f2 | % spectopo() - Plot the mean log spectrum of a set of data epochs at all channels
% as a bundle of traces. At specified frequencies, plot the relative
% topographic distribution of power. If available, uses pwelch() from
% the Matlab signal processing toolbox, else the EEGLAB spec... |
github | lcnbeapp/beapp-master | matsel.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/reporting/helpers/matsel.m | 3,756 | utf_8 | 3779008d46e2601576fba59179f48a0c | % matsel() - select rows, columns, and epochs from given multi-epoch data matrix
%
% Usage:
% >> [dataout] = matsel(data,frames,framelist);
% >> [dataout] = matsel(data,frames,framelist,chanlist);
% >> [dataout] = matsel(data,frames,framelist,chanlist,epochlist);
%
% Inputs:
% data - input data... |
github | lcnbeapp/beapp-master | finputcheck.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/PrepPipeline/reporting/helpers/finputcheck.m | 9,133 | utf_8 | 8e445ff93b185f97308409ce1e4300d4 | % finputcheck() - check Matlab function {'key','value'} input argument pairs
%
% Usage: >> result = finputcheck( varargin, fieldlist );
% >> [result varargin] = finputcheck( varargin, fieldlist, ...
% callingfunc, mode, verbose );
% Input:
% varargin - Cell array ... |
github | lcnbeapp/beapp-master | pop_dipfit_manual.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/pop_dipfit_manual.m | 1,755 | utf_8 | eba5714bbc90a749dad3cbbf6d51a4d7 | % pop_dipfit_manual() - interactively do dipole fit of selected ICA components
% Function deprecated. Use pop_dipfit_nonlinear()
% instead
% Usage:
% >> OUTEEG = pop_dipfit_manual( INEEG )
%
% Inputs:
% INEEG input dataset
%
% Outputs:
% OUTEEG output dataset... |
github | lcnbeapp/beapp-master | eeglab2fieldtrip.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/eeglab2fieldtrip.m | 5,812 | utf_8 | 2191a7e220db8b7bb5ad4e1bfe5a929d | % eeglab2fieldtrip() - do this ...
%
% Usage: >> data = eeglab2fieldtrip( EEG, fieldbox, transform );
%
% Inputs:
% EEG - [struct] EEGLAB structure
% fieldbox - ['preprocessing'|'freqanalysis'|'timelockanalysis'|'companalysis']
% transform - ['none'|'dipfit'] transform channel locations for DIPFIT
% ... |
github | lcnbeapp/beapp-master | dipfit_reject.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/dipfit_reject.m | 1,823 | utf_8 | 7d157ab7d3da320a78bb851d5d3b5669 | % dipfit_reject() - remove dipole models with a poor fit
%
% Usage:
% >> dipout = dipfit_reject( model, reject )
%
% Inputs:
% model struct array with a dipole model for each component
%
% Outputs:
% dipout struct array with a dipole model for each component
%
% Author: Robert Oostenveld, SMI/FCDC, Nijmegen 2003
... |
github | lcnbeapp/beapp-master | pop_dipplot.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/pop_dipplot.m | 8,649 | utf_8 | f0e67d40c3bd34a95443673ebb76b95b | % pop_dipplot() - plot dipoles.
%
% Usage:
% >> pop_dipplot( EEG ); % pop up interactive window
% >> pop_dipplot( EEG, comps, 'key1', 'val1', 'key2', 'val2', ...);
%
% Graphic interface:
% "Components" - [edit box] enter component number to plot. By
% all the localized components are plotted. Comma... |
github | lcnbeapp/beapp-master | dipplot.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/dipplot.m | 61,455 | utf_8 | 1bc351e760494d6b9df714acf3a089ed | % dipplot() - Visualize EEG equivalent-dipole locations and orientations
% in the MNI average MRI head or in the BESA spherical head model.
% Usage:
% >> dipplot( sources, 'key', 'val', ...);
% >> [sources X Y Z XE YE ZE] = dipplot( sources, 'key', 'val', ...);
%
% Inputs:
% sources - structure a... |
github | lcnbeapp/beapp-master | fieldtripchan2eeglab.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/fieldtripchan2eeglab.m | 1,612 | utf_8 | 0328813bbaaba65a3bcfde10ecb26e8b | % fieldtripchan2eeglab() - convert Fieldtrip channel location structure
% to EEGLAB channel location structure
%
% Usage:
% >> chanlocs = fieldtripchan2eeglab( fieldlocs );
%
% Inputs:
% fieldlocs - Fieldtrip channel structure. See help readlocs()
%
% Outputs:
% chanlocs - EEGLAB channel... |
github | lcnbeapp/beapp-master | sph2spm.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/sph2spm.m | 3,331 | utf_8 | 67c8de53ef88fdbaa69eea504e17997b | % sph2spm() - compute homogenous transformation matrix from
% BESA spherical coordinates to SPM 3-D coordinate
%
% Usage:
% >> trans = sph2spm;
%
% Outputs:
% trans - homogenous transformation matrix
%
% Note: head radius for spherical model is assumed to be 85 mm.
%
% Author: Robert Oostenveld, SMI/FC... |
github | lcnbeapp/beapp-master | homogenous2traditional.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/homogenous2traditional.m | 5,576 | utf_8 | 1cd0a7b795501f24b35360ecec62e420 | function f = homogenous2traditional(H)
% HOMOGENOUS2TRADITIONAL estimates the traditional translation, rotation
% and scaling parameters from a homogenous transformation matrix. It will
% give an error if the homogenous matrix also describes a perspective
% transformation.
%
% Use as
% f = homogenous2traditional(H)
... |
github | lcnbeapp/beapp-master | electroderealign.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/electroderealign.m | 26,943 | utf_8 | c09b21089e582b6d28a1fc065011b317 | function [norm] = electroderealign(cfg);
% ELECTRODEREALIGN rotates and translates electrode positions to
% template electrode positions or towards the head surface. It can
% either perform a rigid body transformation, in which only the
% coordinate system is changed, or it can apply additional deformations
% to the i... |
github | lcnbeapp/beapp-master | pop_dipfit_nonlinear.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/pop_dipfit_nonlinear.m | 19,264 | utf_8 | 38b5b9d5f0129b1a4aaf3230c2578eac | % pop_dipfit_nonlinear() - interactively do dipole fit of selected ICA components
%
% Usage:
% >> EEGOUT = pop_dipfit_nonlinear( EEGIN )
%
% Inputs:
% EEGIN input dataset
%
% Outputs:
% EEGOUT output dataset
%
% Author: Robert Oostenveld, SMI/FCDC, Nijmegen 2003
% Arnaud Delorme, SCCN, La Jolla... |
github | lcnbeapp/beapp-master | dipfit_1_to_2.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/dipfit_1_to_2.m | 2,252 | utf_8 | 1a1a49c9adb0d94ff59b4a2206a3f2f4 | % dipfit_1_to_2() - convert dipfit 1 structure to dipfit 2 structure.
%
% Usage:
% >> EEG.dipfit = dipfit_1_to_2(EEG.dipfit);
%
% Note:
% For non-standard BESA models (where the radii or the conductances
% have been modified, users must create a new model in Dipfit2 from
% the default BESA model.
%
% Author: Arnaud D... |
github | lcnbeapp/beapp-master | dipfit_gridsearch.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/dipfit_gridsearch.m | 4,519 | utf_8 | cc77806c9d0a7de350e540a72dc1c033 | % dipfit_gridsearch() - do initial batch-like dipole scan and fit to all
% data components and return a dipole model with a
% single dipole for each component.
%
% Usage:
% >> EEGOUT = dipfit_gridsearch( EEGIN, varargin)
%
% Inputs:
% ...
%
% Optional inputs:
% 'com... |
github | lcnbeapp/beapp-master | eegplugin_dipfit.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/eegplugin_dipfit.m | 4,444 | utf_8 | 2bcef6898d8184014480e6ed4f2e170b | % eegplugin_dipfit() - DIPFIT plugin version 2.0 for EEGLAB menu.
% DIPFIT is the dipole fitting Matlab Toolbox of
% Robert Oostenveld (in collaboration with A. Delorme).
%
% Usage:
% >> eegplugin_dipfit(fig, trystrs, catchstrs);
%
% Inputs:
% fig - [integer] eegla... |
github | lcnbeapp/beapp-master | pop_multifit.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/pop_multifit.m | 10,370 | utf_8 | dd98129d0df98fcdfc6532ff87983696 | % pop_multifit() - fit multiple component dipoles using DIPFIT
%
% Usage:
% >> EEG = pop_multifit(EEG); % pop-up graphical interface
% >> EEG = pop_multifit(EEG, comps, 'key', 'val', ...);
%
% Inputs:
% EEG - input EEGLAB dataset.
% comps - indices component to fit. Empty is all components.
%... |
github | lcnbeapp/beapp-master | pop_dipfit_gridsearch.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/pop_dipfit_gridsearch.m | 4,833 | utf_8 | 39566131e1f04827a5eaf4dd7994f07f | % pop_dipfit_gridsearch() - scan all ICA components with a single dipole
% on a regular grid spanning the whole brain. Any dipoles that explains
% a component with a too large relative residual variance is removed.
%
% Usage:
% >> EEGOUT = pop_dipfit_gridsearch( EEGIN ); % pop up interactive window
% >> EEGO... |
github | lcnbeapp/beapp-master | dipfit_erpeeg.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/dipfit_erpeeg.m | 3,634 | utf_8 | c387b5b84e9f4ee03b832f289837c1a2 | % dipfit_erpeeg - fit multiple component dipoles using DIPFIT
%
% Usage:
% >> [ dipole model EEG] = dipfit_erpeeg(data, chanlocs, 'key', 'val', ...);
%
% Inputs:
% data - input data [channel x point]. One dipole per point is
% returned.
% chanlocs - channel location structure (returned by ... |
github | lcnbeapp/beapp-master | pop_dipfit_batch.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/pop_dipfit_batch.m | 2,342 | utf_8 | 349fbd140a3ba8c11fce24b8db9fa20c | % pop_dipfit_batch() - interactively do batch scan of all ICA components
% with a single dipole
% Function deprecated. Use pop_dipfit_gridsearch()
% instead
%
% Usage:
% >> OUTEEG = pop_dipfit_batch( INEEG ); % pop up interactive window
% >> OUTEEG = pop... |
github | lcnbeapp/beapp-master | dipfit_nonlinear.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/dipfit_nonlinear.m | 4,979 | utf_8 | 74c08245e5fcd0c004b5c7b3357238cf | % dipfit_nonlinear() - perform nonlinear dipole fit on one of the components
% to improve the initial dipole model. Only selected dipoles
% will be fitted.
%
% Usage:
% >> EEGOUT = dipfit_nonlinear( EEGIN, optarg)
%
% Inputs:
% ...
%
% Optional inputs are specified in key/value ... |
github | lcnbeapp/beapp-master | adjustcylinder2.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/adjustcylinder2.m | 2,197 | utf_8 | 34ff5cb12c3fc11a2456e7d82aedd980 | % adjustcylinder() - Adjust 3d object coordinates to match a pair of points
%
% Usage:
% >> [x y z] = adjustcylinder( x, y, z, pos1, pos2);
%
% Inputs:
% x,y,z - 3-D point coordinates
% pos1 - position of first point [x y z]
% pos2 - position of second point [x y z]
%
% Outputs:
% x,y,z - up... |
github | lcnbeapp/beapp-master | pop_dipfit_settings.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/dipfit2.3/pop_dipfit_settings.m | 20,001 | utf_8 | 7ef22305183621c09beb2691d0250fd9 | % pop_dipfit_settings() - select global settings for dipole fitting through a pop up window
%
% Usage:
% >> OUTEEG = pop_dipfit_settings ( INEEG ); % pop up window
% >> OUTEEG = pop_dipfit_settings ( INEEG, 'key1', 'val1', 'key2', 'val2' ... )
%
% Inputs:
% INEEG input dataset
%
% Optional inputs:
% 'hdmfile' ... |
github | lcnbeapp/beapp-master | eegplugin_cleanline.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/eegplugin_cleanline.m | 2,154 | utf_8 | 00012f272d3f6c21e4885de250f6e0ef | % eegplugin_cleanline() - EEGLAB plugin for removing line noise
%
% Usage:
% >> eegplugin_cleanline(fig, trystrs, catchstrs);
%
% Inputs:
% fig - [integer] EEGLAB figure
% trystrs - [struct] "try" strings for menu callbacks.
% catchstrs - [struct] "catch" strings for menu callbacks.
%
% Notes:
% T... |
github | lcnbeapp/beapp-master | cleanline.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/cleanline.m | 27,439 | utf_8 | db2d5fa2e56fb92bf9e5165018650537 | function [EEG, Sorig, Sclean, f, amps, freqs, g] = cleanline(varargin)
% Mandatory Information
% --------------------------------------------------------------------------------------------------
% EEG EEGLAB data structure
% ---------------------------------------------------------------... |
github | lcnbeapp/beapp-master | para_dataflow.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/para_dataflow.m | 15,079 | utf_8 | bdf197e6b019efdde172f215e4e5933b | function result = para_dataflow(varargin)
% Generic Signal Processing -> Feature Extraction -> Machine Learning BCI framework.
% Result = para_dataflow(FilterSetup, FeatureExtractionArguments, FeatureExtractionSetup, MachineLearningSetup, DialogSetup, ForwardedParameters...)
%
% Most BCI paradigms are implemented as a ... |
github | lcnbeapp/beapp-master | env_showmenu.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/environment/env_showmenu.m | 16,401 | utf_8 | e922dbf8b0926a434e2012cc7cf148ee | function env_showmenu(varargin)
% Links the BCILAB menu into another menu, or creates a new root menu if necessary.
% env_showmenu(Options...)
%
% In:
% Options... : optional name-value pairs; names are:
% 'parent': parent menu to link into
%
% 'shortcuts': whether to enable keyboard s... |
github | lcnbeapp/beapp-master | env_startup.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/environment/env_startup.m | 21,807 | utf_8 | 100127e2a96b4156d68b8af7fec6c1ef | function env_startup(varargin)
% Start the BCILAB toolbox, i.e. set up global data structures and load dependency toolboxes.
% env_startup(Options...)
%
% Does all steps necessary for loading the toolbox -- the functions bcilab.m and eegplugin_bcilab.m
% are wrappers around this function which provide a higher level o... |
github | lcnbeapp/beapp-master | strsetmatch.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/strsetmatch.m | 928 | utf_8 | 73f5541ad337bbbc7179cf71004b7062 | % Indicator of which elements of a universal set are in a particular set.
%
% Input arguments:
% strset:
% the particular set as a cell array of strings
% struniversal:
% the universal set as a cell array of strings, all elements in the
% particular set are expected to be in the universal set
%
% Output argume... |
github | lcnbeapp/beapp-master | helptext.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/helptext.m | 1,593 | utf_8 | bd49205fc50aeae5a909c8b58a47be6d | % Help text associated with a function, class, property or method.
% Spaces are removed as necessary.
%
% See also: helpdialog
% Copyright 2008-2010 Levente Hunyadi
function text = helptext(obj)
if ischar(obj)
text = gethelptext(obj);
else
text = gethelptext(class(obj));
end
text = texttrim(text);
function t... |
github | lcnbeapp/beapp-master | javaclass.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/javaclass.m | 3,635 | utf_8 | 7165e1fd27bd4f5898132023dc04662b | % Return java.lang.Class instance for MatLab type.
%
% Input arguments:
% mtype:
% the MatLab name of the type for which to return the java.lang.Class
% instance
% ndims:
% the number of dimensions of the MatLab data type
%
% See also: class
% Copyright 2009-2010 Levente Hunyadi
function jclass = javaclass(mt... |
github | lcnbeapp/beapp-master | helpdialog.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/helpdialog.m | 3,397 | utf_8 | f16f23c1b608a247bc5298f5ebc6d321 | % Displays a dialog to give help information on an object.
%
% Examples:
% helpdialog char
% gives information of character arrays
% helpdialog plot
% gives help on the plot command
% helpdialog(obj)
% gives help on the MatLab object obj
%
% See also: helptext, msgbox
% Copyright 2008-2010 Levente Hunyadi
fun... |
github | lcnbeapp/beapp-master | getdependentproperties.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/getdependentproperties.m | 907 | utf_8 | 5f87bb7115d9bcacd8556d89a4492c44 | % Publicly accessible dependent properties of an object.
%
% See also: meta.property
% Copyright 2010 Levente Hunyadi
function dependent = getdependentproperties(obj)
dependent = {};
if isstruct(obj) % structures have no dependent properties
return;
end
try
clazz = metaclass(obj);
catch %#ok<CTCH>
retur... |
github | lcnbeapp/beapp-master | example_matrixeditor.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/example_matrixeditor.m | 471 | utf_8 | 637b619421d215e7270f8502574e4ff7 | % Demonstrates how to use the matrix editor.
%
% See also: MatrixEditor
% Copyright 2010 Levente Hunyadi
function example_matrixeditor
fig = figure( ...
'MenuBar', 'none', ...
'Name', 'Matrix editor demo - Copyright 2010 Levente Hunyadi', ...
'NumberTitle', 'off', ...
'Toolbar', 'none');
editor = Matr... |
github | lcnbeapp/beapp-master | example_propertyeditor.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/example_propertyeditor.m | 473 | utf_8 | 49faa2989b2f9c32c26f366e77eaf0b2 | % Demonstrates how to use the property editor.
%
% See also: PropertyEditor
% Copyright 2010 Levente Hunyadi
function example_propertyeditor
% create figure
f = figure( ...
'MenuBar', 'none', ...
'Name', 'Property editor demo - Copyright 2010 Levente Hunyadi', ...
'NumberTitle', 'off', ...
'Toolbar', ... |
github | lcnbeapp/beapp-master | nestedfetch.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/nestedfetch.m | 1,000 | utf_8 | 1f3b58597c8ee6879bc2650defb0799d | % Fetches the value of the named property of an object or structure.
% This function can deal with nested properties.
%
% Input arguments:
% obj:
% the handle or value object the value should be assigned to
% name:
% a property name with dot (.) separating property names at
% different hierarchy levels
% value... |
github | lcnbeapp/beapp-master | findobjuser.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/findobjuser.m | 1,391 | utf_8 | 3275be54ee6c453c85fd950bb6ac56b5 | % Find handle graphics object with user data check.
% Retrieves those handle graphics objects (HGOs) that have the specified
% Tag property and whose UserData property satisfies the given predicate.
%
% Input arguments:
% fcn:
% a predicate (a function that returns a logical value) to test against
% the HGO's Use... |
github | lcnbeapp/beapp-master | javaStringArray.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/javaStringArray.m | 628 | utf_8 | fe0389e3b0d1933d49c1a78c416a279c | % Converts a MatLab cell array of strings into a java.lang.String array.
%
% Input arguments:
% str:
% a cell array of strings (i.e. a cell array of char row vectors)
%
% Output arguments:
% arr:
% a java.lang.String array instance (i.e. java.lang.String[])
%
% See also: javaArray
% Copyright 2009-2010 Levente H... |
github | lcnbeapp/beapp-master | var2str.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/var2str.m | 441 | utf_8 | 5588acb0d18dcfac8183caf10a3b5675 | % Textual representation of any MatLab value.
% Copyright 2009 Levente Hunyadi
function s = var2str(value)
if islogical(value) || isnumeric(value)
s = num2str(value);
elseif ischar(value) && isvector(value)
s = reshape(value, 1, numel(value));
elseif isjava(value)
s = char(value); % calls java.lang.Objec... |
github | lcnbeapp/beapp-master | getclassfield.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/getclassfield.m | 376 | utf_8 | e3b87866af8da4dd40243e750a7e53f6 | % Field value of each object in an array or cell array.
%
% See also: getfield
% Copyright 2010 Levente Hunyadi
function values = getclassfield(objects, field)
values = cell(size(objects));
if iscell(objects)
for k = 1 : numel(values)
values{k} = objects{k}.(field);
end
else
for k = 1 : numel(valu... |
github | lcnbeapp/beapp-master | arrayfilter.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/arrayfilter.m | 488 | utf_8 | a2649b876169e3d850372917e57a8b68 | % Filter elements of array that meet a condition.
% Copyright 2010 Levente Hunyadi
function array = arrayfilter(fun, array)
validateattributes(fun, {'function_handle'}, {'scalar'});
if isobject(array)
filter = false(size(array));
for k = 1 : numel(filter)
filter(k) = fun(array(k));
end
else
f... |
github | lcnbeapp/beapp-master | example_propertygrid.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/example_propertygrid.m | 4,929 | utf_8 | f1e5d6dc7fc518cdb070956ff714353c | % Demonstrates how to use the property pane.
%
% See also: PropertyGrid
% Copyright 2010 Levente Hunyadi
function example_propertygrid
properties = [ ...
PropertyGridField('double', pi, ...
'Category', 'Primitive types', ...
'DisplayName', 'real double', ...
'Description', 'Standard MatLab... |
github | lcnbeapp/beapp-master | constructor.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/constructor.m | 2,078 | utf_8 | c67e647ec8055710896666c9e83b45e0 | % Sets public properties of a MatLab object using a name-value list.
% Properties are traversed in the order they occur in the class definition.
% Copyright 2008-2009 Levente Hunyadi
function obj = constructor(obj, varargin)
assert(isobject(obj), ...
'Function operates on MatLab new-style objects only.');
if nar... |
github | lcnbeapp/beapp-master | nestedassign.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/nestedassign.m | 1,457 | utf_8 | 12d661bb4df3c64a0707a06f7e3e6afc | % Assigns the given value to the named property of an object or structure.
% This function can deal with nested properties.
%
% Input arguments:
% obj:
% the structure, handle or value object the value should be assigned to
% name:
% a property name with dot (.) separating property names at
% different hierarc... |
github | lcnbeapp/beapp-master | javaArrayList.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/dependencies/PropertyGrid-2010-09-16-mod/javaArrayList.m | 740 | utf_8 | cb4ad03c4e0fc536bc1ae024bfb8920a | % Converts a MatLab array into a java.util.ArrayList.
%
% Input arguments:
% array:
% a MatLab row or column vector (with elements of any type)
%
% Output arguments:
% list:
% a java.util.ArrayList instance
%
% See also: javaArray
% Copyright 2010 Levente Hunyadi
function list = javaArrayList(array)
list = java.... |
github | lcnbeapp/beapp-master | hlp_scope.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_scope.m | 3,366 | utf_8 | 4544c2a11f66464cc00f860f36646304 | function varargout = hlp_scope(assignments, f, varargin)
% Execute a function within a dynamic scope of values assigned to symbols.
% Results... = hlp_scope(Assignments, Function, Arguments...)
%
% This is the only completely reliable way in MATLAB to ensure that symbols that should be assigned
% while a function is ru... |
github | lcnbeapp/beapp-master | hlp_fingerprint.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_fingerprint.m | 7,085 | utf_8 | ebeb87c5f5aa958473e853a153d261f9 | function fp = hlp_fingerprint(data)
% Make a fingerprint (hash) of the given data structure.
% Fingerprint = hlp_fingerprint(Data)
%
% This includes all contents; however, large arrays (such as EEG.data) are only spot-checked. For
% thorough checking, use hlp_cryptohash.
%
% In:
% Data : some data structure
%
... |
github | lcnbeapp/beapp-master | hlp_flattensearch.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_flattensearch.m | 4,217 | utf_8 | 9f21976c4c355a8c0ac9432e74a4d31d | function x = hlp_flattensearch(x,form)
% Flatten search() clauses in a nested data structure into a flat search() clause.
% Result = hlp_flattensearch(Expression, Output-Form)
%
% Internal tool used by utl_gridsearch to enable the specification of search parameters using
% search() clauses.
%
% In:
% Expression : s... |
github | lcnbeapp/beapp-master | hlp_tostring.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_tostring.m | 6,536 | utf_8 | 7c374a9f8a1954f5289b4e446ea1a30d | function str = hlp_tostring(v)
% Get an human-readable string representation of a data structure.
% String = hlp_tostring(Data)
%
% The resulting string representations are usually executable, but there are corner cases (e.g.,
% certain anonymous function handles and large data sets), which are not supported. For
% gen... |
github | lcnbeapp/beapp-master | hlp_config.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_config.m | 12,881 | utf_8 | 7b49f69371781d0161c3a842064a43d0 | function result = hlp_config(configname, operation, varargin)
% helper function to process human-readable config scripts.
% Result = hlp_config(FileName,Operation,VariableName,Value,NVPs...)
%
% Config scripts consist of assignments of the form name = value; to set configuration options. In
% addition, there may be any... |
github | lcnbeapp/beapp-master | hlp_deserialize.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_deserialize.m | 12,045 | utf_8 | 5973cf16c3a0b718e9f334724d312870 | function v = hlp_deserialize(m)
% Convert a serialized byte vector back into the corresponding MATLAB data structure.
% Data = hlp_deserialize(Bytes)
%
% In:
% Bytes : a representation of the original data as a byte stream
%
% Out:
% Data : some MATLAB data structure
%
%
% See also:
% hlp_serialize
%
% Examples:
... |
github | lcnbeapp/beapp-master | hlp_aggregatestructs.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_aggregatestructs.m | 7,805 | utf_8 | bab3d7ea8549fc71419a8fa5cb42447f | function res = hlp_aggregatestructs(structs,defaultop,varargin)
% Aggregate structs (recursively), using the given combiner operations.
% Result = hlp_aggregatestructs(Structs,Default-Op,Field-Ops...)
%
% This results in a single 1x1 struct which has aggregated values in its fields (e.g., arrays,
% averages, etc.). Fo... |
github | lcnbeapp/beapp-master | hlp_matlab_version.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_matlab_version.m | 642 | utf_8 | 56356c36dd8e15038caa4dc7b15b62b5 | function v = hlp_matlab_version()
% Get the MATLAB version in a numeric format that can be compared with <, >, etc.
persistent vers;
try
v = vers(1);
catch
v = strsplit(version,'.'); v = str2num(v{1})*100 + str2num(v{2});
vers = v;
end
% Split a string according to some delimiter(s). Not as fast as hlp_spl... |
github | lcnbeapp/beapp-master | hlp_trycompile.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_trycompile.m | 50,690 | utf_8 | cef0c2f78d5b912954b1826f6352d9e1 | function ok = hlp_trycompile(varargin)
% Try to auto-compile a set of binary files in a folder, and return the status.
% OK = hlp_trycompile(Options...)
%
% This function tries to ensure that a given set of functions or classes (specified by their
% MATLAB identifier), whose source files are assumed to be located in a ... |
github | lcnbeapp/beapp-master | hlp_serialize.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_serialize.m | 15,821 | utf_8 | 90ee89875e34a4a84c3e58d9657c04f1 | function m = hlp_serialize(v)
% Convert a MATLAB data structure into a compact byte vector.
% Bytes = hlp_serialize(Data)
%
% The original data structure can be recovered from the byte vector via hlp_deserialize.
%
% In:
% Data : some MATLAB data structure
%
% Out:
% Bytes : a representation of the original data as... |
github | lcnbeapp/beapp-master | hlp_varargin2struct.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_varargin2struct.m | 6,267 | utf_8 | a185d699c488adb84cda30f6db5facda | function res = hlp_varargin2struct(args, varargin)
% Convert a list of name-value pairs into a struct with values assigned to names.
% struct = hlp_varargin2struct(Varargin, Defaults)
%
% In:
% Varargin : cell array of name-value pairs and/or structs (with values assigned to names)
%
% Defaults : optional list of n... |
github | lcnbeapp/beapp-master | hlp_worker.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_worker.m | 5,701 | utf_8 | 912f4bd9ba397e3e40f05b77f7bf1fb5 | function hlp_worker(varargin)
% Act as a lightweight worker process for use with hlp_schedule.
% hlp_worker(Options...)
%
% Receives commands (string expressions) from the network, evaluate them, and send off the result to
% some collector (again as a string). Processing is done in a single thread.
%
% In:
% Options... |
github | lcnbeapp/beapp-master | hlp_superimposedata.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/helpers/hlp_superimposedata.m | 5,438 | utf_8 | 512675e236e6e374f99cf433a05bb974 | function res = hlp_superimposedata(varargin)
% Merge multiple partially populated data structures into one fully populated one.
% Result = hlp_superimposedata(Data1, Data2, Data3, ...)
%
% The function is applicable when you have cell arrays or structs/struct arrays with non-overlapping
% patterns of non-empty entries,... |
github | lcnbeapp/beapp-master | arg_guidialog.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_guidialog.m | 10,844 | utf_8 | 9a3feeb49fd1fa36ac5971ebb38d1ab9 | function varargout = arg_guidialog(func,varargin)
% Create an input dialog that displays input fields for a Function and Parameters.
% Parameters = arg_guidialog(Function, Options...)
%
% The Parameters that are passed to the function can be used to override some of its defaults. The
% function must declare its argumen... |
github | lcnbeapp/beapp-master | arg_define.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_define.m | 28,888 | utf_8 | 79e413010787b04cc5fec2c1d1aa0d04 | function res = arg_define(vals,varargin)
% Declare function arguments with optional defaults and built-in GUI support.
% Struct = arg_define(Values, Specification...)
% Struct = arg_define(Format, Values, Specification...)
%
% This is essentially an improved replacement for the parameter declaration line of a function.... |
github | lcnbeapp/beapp-master | arg_guidialog_old.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_guidialog_old.m | 8,955 | utf_8 | 4da1a90f92312aea4043460655d5f6aa | function params = arg_guidialog(func,varargin)
% Create an input dialog that displays input fields for a Function and Parameters.
% Parameters = arg_guidialog(Function, Options...)
%
% The Parameters that are passed to the function can be used to override some of its defaults.
% The function must declare its arguments... |
github | lcnbeapp/beapp-master | arg_guidialog_ex.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_guidialog_ex.m | 8,675 | utf_8 | 82a7c00e1dfc74a921a596040b742fd9 | function params = arg_guidialog(func,varargin)
% Create an input dialog that displays input fields for a Function and Parameters.
% Parameters = arg_guidialog(Function, Options...)
%
% The Parameters that are passed to the function can be used to override some of its defaults.
% The function must declare its arguments... |
github | lcnbeapp/beapp-master | invoke_arg_internal.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/invoke_arg_internal.m | 4,456 | utf_8 | cde8b4f57b2bc16a8b03c45c255fe35d | function spec = invoke_arg_internal(reptype,varargin) %#ok<INUSL>
% same type of invoke function as in arg_sub, arg_subswitch, etc. - but shared between
% arg, arg_norep, and arg_nogui
spec = hlp_microcache('arg',@invoke_arg,varargin{:});
% the function that does the actual work of building the argument specifier
func... |
github | lcnbeapp/beapp-master | arg_report.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_report.m | 6,925 | utf_8 | eb8f94b9fd0693dbde5cbfa2824b7e8d | function res = arg_report(type,func,args)
% Report information of a certain Type from the given Function.
% Result = arg_report(Type,Function,Arguments)
%
% Functions that declare their arguments via arg_define() make their parameter specification
% accessible to outside functions. This can be used to display auto-gene... |
github | lcnbeapp/beapp-master | arg_subswitch.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_subswitch.m | 17,047 | utf_8 | f8e71db07aba22fedb0dce863f122c40 | function res = arg_subswitch(varargin)
% Specify a function argument that can be one of several alternative structs.
% Spec = arg_subswitch(Names,Defaults,Alternatives,Help,Options...)
%
% The correct struct is chosen according to a selection rule (the mapper). Accessible to the
% function as a struct, and visible in t... |
github | lcnbeapp/beapp-master | arg_sub.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_sub.m | 12,136 | utf_8 | 579d06548d7bb9eba5580ea1d6d33322 | function res = arg_sub(varargin)
% Specify an argument of a function which is a structure of sub-arguments.
% Spec = arg_sub(Names,Defaults,Source,Help,Options...)
%
% Delivered to the function as a struct, and visible in the GUI as a an expandable sub-list of
% arguments. A function may have an argument which itself c... |
github | lcnbeapp/beapp-master | arg_subtoggle.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_subtoggle.m | 15,337 | utf_8 | 6bfc9dc025de4ebf873f2152b77f7ee4 | function res = arg_subtoggle(varargin)
% Specify an argument of a function which is a struct of sub-arguments that can be disabled.
% Spec = arg_subtoggle(Names,Default,Source,Help,Options...)
%
% Accessible to the function as a struct, and visible in the GUI as a an expandable sub-list of
% arguments (with a checkbox ... |
github | lcnbeapp/beapp-master | arg_tovals.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_tovals.m | 2,531 | utf_8 | d6b62007b294e20f330fd415633ef2ad | function res = arg_tovals(spec,direct)
% Convert a 'rich' argument report into a 'vals' report.
% Vals = arg_tovals(Rich)
%
% In:
% Rich : a 'rich' argument report, as obtained via arg_report('rich',some_function)
%
% Direct : whether to endow the result with an 'arg_direct' flag set to true, which indicates to
%... |
github | lcnbeapp/beapp-master | arg_specifier.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/arguments/arg_specifier.m | 2,714 | utf_8 | 45a0f0bbe159b1d73d533fcbbf4c2576 | function spec = arg_specifier(varargin)
% Internal: create a base specifier struct for an argument.
% Specifier = arg_specifier(Overrides...)
%
% In:
% Overrides... : name-value pairs of fields that should be overridden
%
% Out:
% A specifier that is recognized by arg_define.
%
% See also:
% arg_define
%
% ... |
github | lcnbeapp/beapp-master | is_needing_search.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/queries/is_needing_search.m | 808 | utf_8 | b4e0ea02b09d80b71d7e2970b648578f | function res = is_needing_search(argform,args)
% test whether some argument pack requires a search or not (according to the specified argument format)
if strcmp(argform,'direct')
% a search is specified by multielement arguments
res = prod(max(1,cellfun(@length,args))) > 1;
elseif strcmp(argform,'clauses')
... |
github | lcnbeapp/beapp-master | is_raw_dataset.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/bcilab_partial/queries/is_raw_dataset.m | 184 | utf_8 | 6bcaef74ea534a299898aa10b68af85a | % determine whether some object is a raw EEGLAB data set with no BCILAB constituents
function res = is_raw_dataset(x)
res = all(isfield(x,{'data','srate'})) && ~isfield(x,'tracking');
|
github | lcnbeapp/beapp-master | shadowplot.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/tmullen-cleanline-696a7181b7d0/external/shadowplot/shadowplot.m | 7,604 | utf_8 | ae6097ee1343157565bb24e6a5f27a32 | function varargout = shadowplot(varargin)
% SHADOWPLOT Add a shadow to an existing surface or patch plot
%
% For some surface plots, it can be helpful to visualize the shadow (2D
% projection) of the surface. This can give a quick perspective on the
% data's variance.
%
% SHADOWPLOT PLANE Adds a shadow plot on th... |
github | lcnbeapp/beapp-master | readbvconf.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/bvaio1.57/readbvconf.m | 2,844 | utf_8 | 4eb0324e1e56dd1240dfaf9a3437c489 | % readbvconf() - read Brain Vision Data Exchange format configuration
% file
%
% Usage:
% >> CONF = readbvconf(pathname, filename);
%
% Inputs:
% pathname - path to file
% filename - filename
%
% Outputs:
% CONF - structure configuration
%
% Author: Andreas Widmann, University of Leipzig,... |
github | lcnbeapp/beapp-master | pop_loadbv.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/bvaio1.57/pop_loadbv.m | 12,215 | utf_8 | 87d1ce71415fbd8735ab37c7e88fa227 | % pop_loadbv() - load Brain Vision Data Exchange format dataset and
% return EEGLAB EEG structure
%
% Usage:
% >> [EEG, com] = pop_loadbv; % pop-up window mode
% >> [EEG, com] = pop_loadbv(path, hdrfile);
% >> [EEG, com] = pop_loadbv(path, hdrfile, srange);
% >> [EEG, com] = pop_loadbv(path, hdrf... |
github | lcnbeapp/beapp-master | eegplugin_bva_io.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/bvaio1.57/eegplugin_bva_io.m | 2,999 | utf_8 | e0ed0e164c42929edc9d2ebaac2fa2b0 | % eegplugin_bva_io() - EEGLAB plugin for importing Brainvision
% .vhdr data files.
%
% Usage:
% >> eegplugin_bva_io(fig, trystrs, catchstrs);
%
% Inputs:
% fig - [integer] EEGLAB figure
% trystrs - [struct] "try" strings for menu callbacks.
% catchstrs - [struct] "catch" str... |
github | lcnbeapp/beapp-master | parsebvmrk.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/bvaio1.57/parsebvmrk.m | 1,754 | utf_8 | 5913b2393594c4821248cf06b3001af7 | % parsebvmrk() - convert Brain Vision Data Exchange format marker
% configuration structure to EEGLAB event structure
%
% Usage:
% >> EVENT = parsebvmrk(MRK);
%
% Inputs:
% MRK - marker configuration structure
%
% Outputs:
% EVENT - EEGLAB event structure
%
% Author: Andreas Widmann, University o... |
github | lcnbeapp/beapp-master | pop_writebva.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/bvaio1.57/pop_writebva.m | 7,792 | utf_8 | 594e34cc5c304928f68fe095cab80d4a | % pop_writebva() - export EEG dataset
%
% Usage:
% >> EEG = pop_writebva(EEG); % a window pops up
% >> EEG = pop_writebva(EEG, filename);
%
% Inputs:
% EEG - eeglab dataset
% filename - file name
%
% Author: Arnaud Delorme, SCCN, INC, UCSD, 2005-
%1234567890123456789012345678901234567890123... |
github | lcnbeapp/beapp-master | pop_loadbva.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/bvaio1.57/pop_loadbva.m | 6,637 | utf_8 | 699ce4104ad5d376f6c610f5d5f26252 | % pop_loadbva() - import a Matlab file from brain vision analyser
% software.
%
% Usage:
% >> OUTEEG = pop_loadbva( filename );
%
% Inputs:
% filename - file name
%
% Outputs:
% OUTEEG - EEGLAB data structure
%
% Author: Arnaud Delorme, SCCN/INC/UCSD, Dec 2003
%
% See also: eeglab()... |
github | lcnbeapp/beapp-master | eegplugin_MARA.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/MARA-master/eegplugin_MARA.m | 2,770 | utf_8 | 7619f29fb825e45ca839265d7d4046e0 | % eegplugin_MARA() - EEGLab plugin to classify artifactual ICs based on
% 6 features from the time domain, the frequency domain,
% and the pattern
%
% Inputs:
% fig - [integer] EEGLAB figure
% try_strings - [struct] "try" strings for menu callbacks.
% catch_strin... |
github | lcnbeapp/beapp-master | pop_visualizeMARAfeatures.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/MARA-master/pop_visualizeMARAfeatures.m | 4,558 | utf_8 | c888a9b58c7e7893d090883d152d5e09 | % pop_visualizeMARAfeatures() - Display features that MARA's decision
% for artifact rejection is based on
%
% Usage:
% >> pop_visualizeMARAfeatures(gcompreject, MARAinfo);
%
% Inputs:
% gcompreject - array <1 x nIC> containing 1 if component was rejected
% MARAin... |
github | lcnbeapp/beapp-master | processMARA.m | .m | beapp-master/Packages/eeglab14_1_2b/plugins/MARA-master/processMARA.m | 6,510 | utf_8 | 896a41c6475ec80bf7706cc7166ce7a8 | % processMARA() - Processing for Automatic Artifact Classification with MARA.
% processMARA() calls MACA and saves the identified artifactual components
% in EEG.reject.gcompreject.
% The functions optionally filters the data, runs ICA, plots components or
% reject artifactual components immediately.
%
% U... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.