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
lcnhappe/happe-master
test_ft_preprocessing.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_preprocessing.m
2,987
utf_8
b83998ddf8d5db1bb3dbea7d4905cd8f
function test_ft_preprocessing(datainfo, writeflag, version) % MEM 1500mb % WALLTIME 00:10:00 % TEST test_ft_preprocessing % TEST ft_preprocessing ref_datasets % writeflag determines whether the output should be saved to disk % version determines the output directory if nargin<1 datainfo = ref_datasets; end if na...
github
lcnhappe/happe-master
test_bug2377b.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_bug2377b.m
3,684
utf_8
6609cf02d809a7ed643457946040bee9
function test_bug2377b % MEM 1500mb % WALLTIME 00:10:00 % TEST test_bug2377b % TEST ft_senslabel ft_senstype ft_chantype ft_chanunit ft_datatype_sens [pnt, tri] = icosahedron162; pnt = pnt .* 10; % convert to cm sel = find(pnt(:,3)>0); % take the upper hemisphere nchan = length(sel); ...
github
lcnhappe/happe-master
test_bug1786.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_bug1786.m
28,790
utf_8
888eea2bc9b55eb9bbd83a5d3f474e8d
function test_bug1786 % MEM 1500mb % WALLTIME 00:10:00 % TEST test_bug1786 % TEST ft_channelrepair ft_prepare_neighbours % Original report: % Hello, % % When I run sphericalSplineInterpolate.m on my data it gets stuck on line 55 at: % "iC = pinv(C);". % % Thanks % Yoel % % http://bugzilla.fcdonders.nl/show_bug.cgi...
github
lcnhappe/happe-master
test_bug2761.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_bug2761.m
516
utf_8
40e8c6fcd9af682c490acf41bf40d317
function test_bug2761 % WALLTIME 00:10:00 % MEM 1GB % TEST test_bug2761 % TEST ft_connectivityanalysis ft_connectivity_corr data = []; for i=1:5 data.label{i} = num2str(i); end for i=1:13 data.trial{i} = randn(5,300); data.time{i} = (1:300)/300; end cfg = []; cfg.covariance = 'yes'; timelock = ft_timelocka...
github
lcnhappe/happe-master
test_csp.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_csp.m
2,280
utf_8
6749925fb2418cf2a37607668d16c4c7
function test_suite = test_csp % MEM 1500mb % WALLTIME 00:10:00 % TEST test_csp % TEST ft_component_analysis % Please beware of notations mistakes in [1]. For example equation (1) does not % compute the t by t channel covariance, but an n by n time covariance matrix. % % [1] Zoltan J. Koles. The quantitative extract...
github
lcnhappe/happe-master
test_bug1925.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_bug1925.m
1,259
utf_8
3822edac5639686e3eb5ab751e54276d
function test_bug1925 % MEM 1500mb % WALLTIME 00:10:00 % TEST test_bug1925 % TEST surface_nesting ft_headmodel_bemcp [ftver, ftpath] = ft_version; cd(fullfile(ftpath, 'forward/private')); % this is where the surface_nesting function is located [pos, tri] = icosahedron162; bnd10.id = 10; bnd10.pos = pos*10; bnd10....
github
lcnhappe/happe-master
test_ft_timelockanalysis_new.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_timelockanalysis_new.m
15,554
utf_8
25776f063c3317b6ed7bb48c417064d8
function test_ft_timelockanalysis_new(datainfo,writeflag) % MEM 1500mb % WALLTIME 00:10:00 % TEST test_ft_timelockanalysis_new % ft_timelockanalysis_new ft_timelockanalysis ref_datasets % this is a function for testing ft_timelockanalysis_new, which is not official yet % the optional writeflag determines whether th...
github
lcnhappe/happe-master
test_bug2225.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_bug2225.m
219
utf_8
cd5a86e01c4737d10a1bf2c4f91cde09
function test_bug2225 % WALLTIME 00:10:00 % MEM 1gb tic for i=1:10000 issue_warning end % for toc end % main function function issue_warning ft_warning('this warning should not show too often'); end % subfunction
github
lcnhappe/happe-master
test_tutorial_coherence.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_tutorial_coherence.m
7,081
utf_8
a00ebdbf1a5ecf3f6ec67bfaa67876d8
function test_tutorial_coherence % MEM 4500mb % WALLTIME 00:20:00 % TEST test_tutorial_coherence % TEST ft_freqanalysis ft_connectivityanalysis ft_multiplotER ft_singleplotER ft_topoplotER ft_sourceanalysis ft_sourceinterpolate ft_prepare_sourcemodel headsurface addpath('/home/common/matlab/fieldtrip/data/ftp/tutori...
github
lcnhappe/happe-master
inspect_qsubcellfun3.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/inspect_qsubcellfun3.m
1,266
utf_8
34dab50806cd673f776e8cd5752e5702
function inspect_qsubcellfun3 % MEM 1500mb % WALLTIME 00:10:00 % TEST test_qsubcellfun3 % TEST qsubcellfun qsubfeval qsubget % this should not run in the automated batch, because the torque queue % will be completely full with other jobs, causing this job to timeout if isempty(which('qsubcellfun')) [ftver, ftpath...
github
lcnhappe/happe-master
test_printstruct.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_printstruct.m
2,606
utf_8
a851c70161c6ff3f6b68993939ce7bca
function test_printstruct % MEM 4096mb % WALLTIME 00:20:00 % the above requirements are quite big, but this script is inherently % unpredictable numtests = 10; fprintf('generating %d random deep nested structures to test printstruct() serialization\n', numtests); for k = 1:numtests % generate some deep structure ...
github
lcnhappe/happe-master
test_bug2639.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_bug2639.m
5,224
utf_8
c9dcca414ad6ef237af60845013ff6f9
function test_bug2639 % TEST test_bug2639 % TEST ft_checkdata % MEM 2gb % WALLTIME 00:10:00 shufflechan = [1 3 2]'; channelcmb = { '1' '2' '1' '3' '2' '3' }; %% freq1o = []; freq1o.freq = 1; freq1o.label = {'1', '2', '3'}'; freq1o.dimord = 'chan_freq'; freq1o.powspctrm = reshape([1 2 ...
github
lcnhappe/happe-master
test_tutorial_headmodel_meg.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_tutorial_headmodel_meg.m
1,927
utf_8
8075bf65196420c5b808e6585988c6ee
function test_tutorial_headmodel_meg(datadir) % MEM 2000mb % WALLTIME 00:45:00 % TEST test_tutorial_headmodel_meg % TEST ft_read_mri ft_volumesegment ft_prepare_headmodel ft_plot_vol % TEST ft_convert_units ft_read_sens ft_plot_sens % intial version by Lilla Magyari if nargin==0 datadir = '/home/common/matlab/fiel...
github
lcnhappe/happe-master
test_ft_freqanalysis.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_freqanalysis.m
8,404
utf_8
1befb77d0d1d1b8a05ebc8a98d591d04
function test_ft_freqanalysis(datainfo, writeflag, version) % MEM 8000mb % WALLTIME 01:30:00 % TEST test_ft_freqanalysis % TEST ft_freqanalysis ref_datasets % writeflag determines whether the output should be saved to disk % version determines the output directory if nargin<1 datainfo = ref_datasets; end if narg...
github
lcnhappe/happe-master
test_warning_once.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_warning_once.m
1,458
utf_8
2b8f09a3ad31a7f8ae5279e661006211
function test_warning_once % MEM 1500mb % WALLTIME 00:10:00 ft_warning('-clear'); warning1 = 'hululu'; warning2 = 'aloah hey'; for i=1:2 [output] = evalc(['warning_caller(warning1, warning2)']); w1size = strfind(output, warning1); w2size = strfind(output, warning2); if numel(w1size)~=2 || numel(w2size)~=2 ...
github
lcnhappe/happe-master
test_ft_connectivity_powcorr_ortho.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_connectivity_powcorr_ortho.m
985
utf_8
ab81c598019efd18451700831a55be59
function test_ft_connectivity_powcorr_ortho % MEM 1500mb % WALLTIME 00:10:00 % TEST: test_ft_connectivity_powcorr_ortho % TEST: ft_connectivity_powcorr_ortho mom1 = randn(1,100)+1i*randn(1,100); mom2 = randn(1,100)+1i*randn(1,100); c = ft_connectivity_powcorr_ortho([mom1;mom2], 'refindx', 1); c = c(2,:); [c1, c2] ...
github
lcnhappe/happe-master
test_ft_timelockanalysis.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_timelockanalysis.m
2,917
utf_8
544f3d9ad6b049dc2e929a3fd9bf8ec1
function test_ft_timelockanalysis(datainfo, writeflag, version) % MEM 1500mb % WALLTIME 00:10:00 % TEST test_ft_timelockanalysis % ft_timelockanalysis ref_datasets % writeflag determines whether the output should be saved to disk % version determines the output directory if nargin<1 datainfo = ref_datasets; end i...
github
lcnhappe/happe-master
test_ft_prepare_mesh.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_prepare_mesh.m
6,496
utf_8
1509c54e1eea7cffc5bf32566f1d1a85
function test_ft_prepare_mesh % MEM 1500mb % WALLTIME 00:10:00 % test ft_prepare_mesh also used for constructing SIMBIO FEM head models % see also http://bugzilla.fcdonders.nl/show_bug.cgi?id=1815 % TEST test_ft_prepare_mesh % TEST ft_prepare_mesh ft_datatype_segmentation ft_plot_mesh %% segmentations example.dim ...
github
lcnhappe/happe-master
trialfun_affcog.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/trialfun_affcog.m
1,267
utf_8
559386a8dcd6b0a2b6966552240ca5f9
function [trl, event] = trialfun_affcog(cfg) %% the first part is common to all trial functions % read the header (needed for the samping rate) and the events hdr = ft_read_header(cfg.headerfile); event = ft_read_event(cfg.headerfile); %% from here on it becomes specific to the experiment and the data fo...
github
lcnhappe/happe-master
test_bug1397.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_bug1397.m
3,150
utf_8
0a032e78d8becf9f7f3c7c25f069b8b3
function test_bug1397 % MEM 1500mb % WALLTIME 00:10:00 % TEST test_bug1397 % TEST ft_preprocessing ft_appenddata % the following code was obtained from http://www.fieldtriptoolbox.org/tutorial/coherence % on Wed Mar 28 15:36:40 CEST 2012 % find the interesting epochs of data cfg = []; % MODIFICATION, use trialfun h...
github
lcnhappe/happe-master
test_bug1618.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_bug1618.m
449
utf_8
76ec9df5e64a5bca83b6011dbde758b8
function test_suite = test_bug1618 % MEM 1500mb % WALLTIME 00:10:00 % TEST test_bug1618 % add xunit to path ft_hastoolbox('xunit',1); initTestSuite; % for xUnit function test_no_nan % TODO: load example data, test for absence of NAN. h = ft_read_header('data_bug1618/bug1618.dat'); h h.chanunit h.chantype...
github
lcnhappe/happe-master
test_ft_crossfrequencyanalysis.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_crossfrequencyanalysis.m
6,513
utf_8
d38e768a1f5937af96f9a351237c54a5
function test_ft_crossfrequencyanalysis % MEM 2gb % WALLTIME 0:15:00 % TEST test_ft_crossfrequencyanalysis % TEST ft_crossfrequencyanalysis clear all; close all; %%%%%% generate simulation data %%%%%%%%%%%%% % channels N = 2; s = zeros(N,4000); for i = 1:N num = 45; % number of alpha cyc...
github
lcnhappe/happe-master
test_ft_selectdata.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_selectdata.m
25,710
utf_8
8c3047968d7baeba558f3d6580c426e9
function test_ft_selectdata % MEM 1500mb % WALLTIME 00:10:00 % TEST test_ft_selectdata % TEST ft_selectdata ft_selectdata_old ft_selectdata_new ft_appendfreq timelock1 = []; timelock1.label = {'1' '2'}; timelock1.time = 1:5; timelock1.dimord = 'chan_time'; timelock1.avg = randn(2,5); cfg = []; cfg.channel = 1; tim...
github
lcnhappe/happe-master
test_ft_channelcombination.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_channelcombination.m
7,145
utf_8
92126b1e575f43f578016080f381e561
function test_ft_channelcombination % MEM 1500mb % WALLTIME 00:10:00 % TEST test_ft_channelcombination % TEST ft_channelcombination % this function tests the new implementation of ft_channelcombination load(fullfile(dccnpath('/home/common/matlab/fieldtrip/data/test/latest/raw/meg'),'preproc_ctf151.mat')); label = d...
github
lcnhappe/happe-master
test_ft_analysispipeline.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_analysispipeline.m
2,685
utf_8
9466e08ec41682a2c6b7afc284babec1
function test_ft_analysispipeline % MEM 1500mb % WALLTIME 02:53:11 % TEST test_ft_analysispipeline % TEST ft_analysispipeline % the style of this test script is also used in test_ft_datatype and test_bug2185 global ft_default ft_default.trackusage = 'no'; % this calls ft_analysispipeline more than 6000 times, those...
github
lcnhappe/happe-master
test_ft_componentanalysis.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_componentanalysis.m
3,273
utf_8
b0c2b5a3a4fc97828c4305a836bde27c
function test_ft_componentanalysis(datainfo, writeflag, version) % MEM 2gb % WALLTIME 00:10:00 % TEST test_ft_componentanalysis % ft_componentanalysis ref_datasets % writeflag determines whether the output should be saved to disk % version determines the output directory if nargin<1 datainfo = ref_datasets; end i...
github
lcnhappe/happe-master
test_prepare_freq_matrices.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_prepare_freq_matrices.m
15,003
utf_8
08bea5d768d5aeaaa4ad0938cac4ce3b
function test_prepare_freq_matrices % WALLTIME 00:10:00 % MEM 1000mb % TEST test_prepare_freq_matrices % TEST prepare_freq_matrices % TEST ft_sourceanalysis datadir = dccnpath('/home/common/matlab/fieldtrip/data/test/latest/freq/meg'); curdir = pwd; cd(dccnpath('/home/common/matlab/fieldtrip')); % fourier data, mu...
github
lcnhappe/happe-master
test_ft_checkdata.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/test_ft_checkdata.m
7,907
utf_8
342cc383141a15f393ff7aedcbb493a4
function test_ft_checkdata % MEM 1500mb % WALLTIME 00:20:00 % TEST test_ft_checkdata % TEST ft_checkdata %% converting raw data to timelock data % make some raw data with unequal time-axis, excluding 0 data = []; data.label = {'1', '2'}; for m=[eps exp(1) pi 1:20] for n=.1:.1:m data.time{1} = -.5:(n/m):-.1; ...
github
lcnhappe/happe-master
getdimord.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/getdimord.m
20,107
utf_8
706f4f45a5d4ae7535c204b8c010f76b
function dimord = getdimord(data, field, varargin) % GETDIMORD % % Use as % dimord = getdimord(data, field) % % See also GETDIMSIZ, GETDATFIELD if ~isfield(data, field) && isfield(data, 'avg') && isfield(data.avg, field) field = ['avg.' field]; elseif ~isfield(data, field) && isfield(data, 'trial') && isfield(dat...
github
lcnhappe/happe-master
normals.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/normals.m
2,528
utf_8
96701c7ebda7e6efca8095b3adb6081c
function [nrm] = normals(pnt, tri, opt) % NORMALS compute the surface normals of a triangular mesh % for each triangle or for each vertex % % [nrm] = normals(pnt, tri, opt) % where opt is either 'vertex' or 'triangle' % Copyright (C) 2002-2007, Robert Oostenveld % % This file is part of FieldTrip, see http://www.fiel...
github
lcnhappe/happe-master
csp.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/csp.m
1,702
utf_8
3eb6c73192bc8163344c9b5e70a04877
function [W] = csp(C1, C2, m) % CSP calculates the common spatial pattern (CSP) projection. % % Use as: % [W] = csp(C1, C2, m) % % This function implements the intents of the CSP algorithm described in [1]. % Specifically, CSP finds m spatial projections that maximize the variance (or % band power) in one condition (...
github
lcnhappe/happe-master
hcp_dirlist.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/hcp_dirlist.m
1,228
utf_8
b0501179c448a08e78e771ff578fa072
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % SUBFUNCTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [list, numdirs, numfiles] = hcp_dirlist(basedir, recursive) if nargin<2 recursive = true; end if ~isdir(basedir) error('directory "%s" does not exist', basedir) end list = dir...
github
lcnhappe/happe-master
ft_platform_supports.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/ft_platform_supports.m
9,557
utf_8
eb0e55d84d57e6873cce8df6cad90d96
function tf = ft_platform_supports(what,varargin) % FT_PLATFORM_SUPPORTS returns a boolean indicating whether the current platform % supports a specific capability % % Usage: % tf = ft_platform_supports(what) % tf = ft_platform_supports('matlabversion', min_version, max_version) % % The following values are allowe...
github
lcnhappe/happe-master
ft_warning.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/ft_warning.m
7,789
utf_8
d832a7ad5e2f9bb42995e6e5d4caa198
function [ws, warned] = ft_warning(varargin) % FT_WARNING will throw a warning for every unique point in the % stacktrace only, e.g. in a for-loop a warning is thrown only once. % % Use as one of the following % ft_warning(string) % ft_warning(id, string) % Alternatively, you can use ft_warning using a timeout % ...
github
lcnhappe/happe-master
benchmark.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/benchmark.m
3,925
utf_8
c57855145ed5e0e6dcce46f2eac7ad03
function benchmark(funname, argname, argval, m_array, n_array, niter, varargin) % BENCHMARK a given function % % Use as % benchmark(funname, argname, argval, m_array, n_array, niter, ...) % % Optional input arguments should come in key-value pairs and may include % feedback = none, figure, text, table, all % ...
github
lcnhappe/happe-master
identical.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/identical.m
6,335
utf_8
75a144da8012630d9a34dca990228677
function [ok, message] = identical2(a, b, varargin) % IDENTICAL compares two input variables and returns 1/0 % and a message containing the details on the observed difference. % % Use as % [ok, message] = identical(a, b) % [ok, message] = identical(a, b, ...) % % This works for all possible input variables a and b...
github
lcnhappe/happe-master
getdimsiz.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/getdimsiz.m
2,235
utf_8
340d495a654f2f6752aa1af7ac915390
function dimsiz = getdimsiz(data, field) % GETDIMSIZ % % Use as % dimsiz = getdimsiz(data, field) % % If the length of the vector that is returned is smaller than the % number of dimensions that you would expect from GETDIMORD, you % should assume that it has trailing singleton dimensions. % % Example use % dimord...
github
lcnhappe/happe-master
hcp_filelist.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/test/private/hcp_filelist.m
447
utf_8
71aed91ab0ef231e13aba8c62e7b1661
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % SUBFUNCTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function list = hcp_filelist(basedir) dirlist = hcp_dirlist(basedir, true); dirlist{end+1} = basedir; list = {}; for i=1:length(dirlist) f = dir(dirlist{i}); f = f(~[f.isdir]); f = {...
github
lcnhappe/happe-master
beamformer_pcc.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/inverse/beamformer_pcc.m
13,262
utf_8
c6189828cfd87b980fb6d6c6f69ae63d
function [dipout] = beamformer_pcc(dip, grad, headmodel, dat, Cf, varargin) % BEAMFORMER_PCC implements an experimental beamformer based on partial % canonical correlations or coherences. Dipole locations that are outside % the head will return a NaN value. % % Use as % [dipout] = beamformer_pcc(dipin, grad, headmod...
github
lcnhappe/happe-master
beamformer_dics.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/inverse/beamformer_dics.m
26,041
utf_8
d4c1f578b6725dbeb67c9a09c2ae2dd0
function [dipout] = beamformer_dics(dip, grad, headmodel, dat, Cf, varargin) % BEAMFORMER_DICS scans on pre-defined dipole locations with a single dipole % and returns the beamformer spatial filter output for a dipole on every % location. Dipole locations that are outside the head will return a % NaN value. % % Use as...
github
lcnhappe/happe-master
ft_sloreta.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/inverse/ft_sloreta.m
16,166
utf_8
80ba97c0f6bbf9828825f37d58664d9f
function [dipout] = ft_sloreta(dip, grad, headmodel, dat, Cy, varargin) % ft_sloreta scans on pre-defined dipole locations with a single dipole % and returns the sLORETA spatial filter output for a dipole on every % location. Dipole locations that are outside the head will return a % NaN value. Adapted from beamformer...
github
lcnhappe/happe-master
beamformer_lcmv.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/inverse/beamformer_lcmv.m
17,369
utf_8
2cfd8f53b59635586786d35fb121f695
function [dipout] = beamformer_lcmv(dip, grad, headmodel, dat, Cy, varargin) % BEAMFORMER_LCMV scans on pre-defined dipole locations with a single dipole % and returns the beamformer spatial filter output for a dipole on every % location. Dipole locations that are outside the head will return a % NaN value. % % Use as...
github
lcnhappe/happe-master
dipole_fit.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/inverse/dipole_fit.m
14,489
utf_8
b89f3d077a26265e017c4fd90d2fb7ac
function [dipout] = dipole_fit(dip, sens, headmodel, dat, varargin) % DIPOLE_FIT performs an equivalent current dipole fit with a single % or a small number of dipoles to explain an EEG or MEG scalp topography. % % Use as % [dipout] = dipole_fit(dip, sens, headmodel, dat, ...) % % Additional input arguments should b...
github
lcnhappe/happe-master
mesh_spectrum.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/inverse/private/mesh_spectrum.m
1,370
utf_8
94ec5a0ad9c740bd99c6d6a415702be9
% Mesh spectrum function [L,H,d] = mesh_spectrum(S,n,varargin) %[L,H,d] = ct_mesh_spectrum(S,n,mode) % Compute the mesh laplace matrix and its spectrum % input, % S: mesh file, it has to have a pnt and a tri field % n: number of mesh harmonic functions % mode: 'full' for the full graph, 'half' if you want to do the f...
github
lcnhappe/happe-master
ft_hastoolbox.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/inverse/private/ft_hastoolbox.m
24,831
utf_8
43bae19e25ce108f013f1c401e497630
function [status] = ft_hastoolbox(toolbox, autoadd, silent) % FT_HASTOOLBOX tests whether an external toolbox is installed. Optionally % it will try to determine the path to the toolbox and install it % automatically. % % Use as % [status] = ft_hastoolbox(toolbox, autoadd, silent) % % autoadd = 0 means that it will ...
github
lcnhappe/happe-master
ft_inverse_beamformer_dics.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/fieldtrip-20160917/inverse/new/ft_inverse_beamformer_dics.m
13,353
utf_8
79c230d4fcdc8529ee9f1f03b205f5fd
function [estimate] = ft_inverse_beamformer_dics(leadfield, Cf, varargin) % FT_INVERSE_BEAMFORMER_DICS estimates the source power or source % coherence according to the Dynamic Imaging of Coherent Sources % method. % % Use as % estimate = ft_inverse_beamformer_dics(leadfield, Cf, ...) % where % leadfield = leadfi...
github
lcnhappe/happe-master
firfiltdcpadded.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/firfilt1.6.2/firfiltdcpadded.m
2,137
utf_8
b21b4207bf032e32cc6f0597db3cb4fe
% firfiltdcpadded() - Pad data with DC constant and filter % % Usage: % >> data = firfiltdcpadded(data, b, causal); % % Inputs: % data - raw data % b - vector of filter coefficients % causal - boolean perform causal filtering {default 0} % % Outputs: % data - smoothed data % % Note: % f...
github
lcnhappe/happe-master
minphaserceps.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/firfilt1.6.2/minphaserceps.m
1,275
utf_8
7b751637e7eed71e29f91a4ef6b586e6
% rcepsminphase() - Convert FIR filter coefficient to minimum phase % % Usage: % >> b = minphaserceps(b); % % Inputs: % b - FIR filter coefficients % % Outputs: % bMinPhase - minimum phase FIR filter coefficients % % Author: Andreas Widmann, University of Leipzig, 2013 % % References: % [1] Smith III, O. J. (20...
github
lcnhappe/happe-master
firws.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/firfilt1.6.2/firws.m
3,219
utf_8
0ab4c517238d31712ba1d97ab2497f45
%firws() - Designs windowed sinc type I linear phase FIR filter % % Usage: % >> b = firws(m, f); % >> b = firws(m, f, w); % >> b = firws(m, f, t); % >> b = firws(m, f, t, w); % % Inputs: % m - filter order (mandatory even) % f - vector or scalar of cutoff frequency/ies (-6 dB; % pi rad / sample) % % O...
github
lcnhappe/happe-master
pop_firma.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/firfilt1.6.2/pop_firma.m
3,356
utf_8
e6d49147b8406a5ac3fed31ab0809194
% pop_firma() - Filter data using moving average FIR filter % % Usage: % >> [EEG, com] = pop_firma(EEG); % pop-up window mode % >> [EEG, com] = pop_firma(EEG, 'forder', order); % % Inputs: % EEG - EEGLAB EEG structure % 'forder' - scalar filter order. Mandatory even % % Outputs: % EEG - filtered ...
github
lcnhappe/happe-master
pop_firpm.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/firfilt1.6.2/pop_firpm.m
7,885
utf_8
c7719de703135804f12c5877e899956b
% pop_firpm() - Filter data using Parks-McClellan FIR filter % % Usage: % >> [EEG, com, b] = pop_firpm(EEG); % pop-up window mode % >> [EEG, com, b] = pop_firpm(EEG, 'key1', value1, 'key2', ... % value2, 'keyn', valuen); % % Inputs: % EEG - EEGLAB EEG structure % 'fcutoff' -...
github
lcnhappe/happe-master
pop_eegfiltnew.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/firfilt1.6.2/pop_eegfiltnew.m
8,458
utf_8
568c652401a53a0b370d55e248775e5a
% pop_eegfiltnew() - Filter data using Hamming windowed sinc FIR filter % % Usage: % >> [EEG, com, b] = pop_eegfiltnew(EEG); % pop-up window mode % >> [EEG, com, b] = pop_eegfiltnew(EEG, locutoff, hicutoff, filtorder, % revfilt, usefft, plotfreqz, minphase); % % Inputs: % EEG ...
github
lcnhappe/happe-master
pop_xfirws.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/firfilt1.6.2/pop_xfirws.m
10,425
utf_8
d0777a1329eeb3b766e505a0b61242c9
% pop_xfirws() - Design and export xfir compatible windowed sinc FIR filter % % Usage: % >> pop_xfirws; % pop-up window mode % >> [b, a] = pop_xfirws; % pop-up window mode % >> pop_xfirws('key1', value1, 'key2', value2, 'keyn', valuen); % >> [b, a] = pop_xfirws('key1', value1, 'key2', value2, 'keyn', valuen); %...
github
lcnhappe/happe-master
firfiltsplit.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/firfilt1.6.2/firfiltsplit.m
2,363
utf_8
8e58b4fa2694a8b1d55b8fcddcf94b4f
% firfiltsplit() - Split data at discontinuities and forward to dc padded % filter function % % Usage: % >> EEG = firfiltsplit(EEG, b); % % Inputs: % EEG - EEGLAB EEG structure % b - vector of filter coefficients % causal - scalar boolean perform causal filtering {d...
github
lcnhappe/happe-master
eegplugin_firfilt.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
windows.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_firpmord.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
firfilt.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_firws.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
plotfresp.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_firwsord.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_kaiserbeta.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
findboundaries.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_dipfit_manual.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
eeglab2fieldtrip.m
.m
happe-master/Packages/eeglab14_0_0b/plugins/dipfit2.3/eeglab2fieldtrip.m
5,810
utf_8
bebbd3c516538fee4fe6182dcd06e54c
% 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
lcnhappe/happe-master
dipfit_reject.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_dipplot.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
dipplot.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
fieldtripchan2eeglab.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
sph2spm.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
homogenous2traditional.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
electroderealign.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_dipfit_nonlinear.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
dipfit_1_to_2.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
dipfit_gridsearch.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
eegplugin_dipfit.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_multifit.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_dipfit_gridsearch.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
dipfit_erpeeg.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_dipfit_batch.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
dipfit_nonlinear.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
adjustcylinder2.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
pop_dipfit_settings.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
eegplugin_cleanline.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
cleanline.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
para_dataflow.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
env_showmenu.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
env_startup.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
strsetmatch.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
helptext.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
javaclass.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
helpdialog.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
getdependentproperties.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
example_matrixeditor.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
example_propertyeditor.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
nestedfetch.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
findobjuser.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
javaStringArray.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
var2str.m
.m
happe-master/Packages/eeglab14_0_0b/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
lcnhappe/happe-master
getclassfield.m
.m
happe-master/Packages/eeglab14_0_0b/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...