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
writeRes4.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/ctf/writeRes4.m
8,560
utf_8
416bc2b62624835c63140e54415d2f49
function res4=writeRes4(res4File,res4,MAX_COILS); % Write the new .res4 file. Use ieee-be (big endian) format % Character-string output is done using function writeCTFstring which % checks that strings are the correct length for the .res4 file format. % Function calls: - writeCTFstring (included in this listing)....
github
lcnbeapp/beapp-master
addCTFtrial.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/ctf/addCTFtrial.m
51,483
utf_8
b59730fdb231f07741e7e87dea9e6c1c
function cntrl=addCTFtrial(datasetname,data,unit,mrk,cls,badSegments); %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % This program creates datasets that can be analyzed by CTF software. %...
github
lcnbeapp/beapp-master
setCTFDataBalance.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/ctf/setCTFDataBalance.m
32,056
utf_8
894c3744554abe635876ce6944dca0cd
function [data,ds]=setCTFDataBalance(data,ds,balance1,unit,chanList,messages); % Version 1.1 13 April 2007 Mod to chanList: If chanList is omitted and % size(data,2)<ds.res4.no_channels, then setCTFDataBalance % sets chanList=1:size(data,2) and prints a war...
github
lcnbeapp/beapp-master
writeCTFMRI.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/ctf/writeCTFMRI.m
8,517
utf_8
c6bdbc15d67e3621b8109f6b399f5eae
function writeCTFMRI(fileName,MRItags,MRIdata); % Version 1.2 25 April 2007 Module writeCPersist changed, and removed from this text % file. % Version 1.1 19 April 2007 : No changes from v1.0 % Version 1.0 27 Oct. 2006 % Write a CTF MRI in v4 format. % For file format and a def...
github
lcnbeapp/beapp-master
readCTFds.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/ctf/readCTFds.m
36,570
utf_8
e228d972ce0710af61be4d1d0c89f3fe
function ds=readCTFds(datasetname) % ************************************************************************ % % This program is provided to users of CTF MEG systems as a courtesy only. % It's operation has not been verified for clinical use. % Please do not redistribute it without permission from CTF Systems I...
github
lcnbeapp/beapp-master
sqddemo.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/sqdproject/sqddemo.m
13,633
utf_8
3e91690d3d302c08b018202387b55f3c
function sqddemo(action) % SQDDEMO; Provides a interactive demo explaining the use of sqdread and % sqdwrite functions persistent Newline; persistent Running; persistent Decoration; if ~nargin action = 'start'; end; switch lower(action) case 'init' Newline = sprintf('\n'); Running = uicontinue(...
github
lcnbeapp/beapp-master
get.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/sqdproject/@chanhandle/get.m
6,405
utf_8
72519eea5ca24f660f7729d2725a9efb
function out = get(t,varargin) % GET Get object properties. % out = GET(t,'PropertyName') returns the value of the specified % property for the object t. If t is a vector of handles, then % get will return an M-by-1 cell array of values where M is equal % to length(t). If 'PropertyName' is replaced by a 1-by-N or...
github
lcnbeapp/beapp-master
chanhandle.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/sqdproject/@chanhandle/chanhandle.m
3,739
utf_8
d43b79acd008d1094f4aabd77746e71b
function t = chanhandle(varargin) % T = CHANHANDLE; Constructor for class CHANHANDLE % Chanhandle class contains channel-specific information only. % An object belonging to chanhandle has the following properties: % ChannelNumber % Sensitivity % SensorInfo % Usage: % t = chanhandle; Default values % t = chanhan...
github
lcnbeapp/beapp-master
get.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/sqdproject/@sqdhandle/get.m
3,777
utf_8
ee256890517a8c295444d2cc58ed54cd
function out = get(t,prop) % GET Get object properties. % out = GET(t,'PropertyName') returns the value of the specified % property for the object t. If t is a vector of handles, then % get will return an M-by-1 cell array of values where M is equal % to length(t). If 'PropertyName' is replaced by a 1-by-N or N-b...
github
lcnbeapp/beapp-master
putdata.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/sqdproject/@sqdhandle/putdata.m
10,726
utf_8
59ea137b693298211a264bf05305767f
function err = putdata(t,filename,varargin) % ERR = PUTDATA(SQDHANDLE,FILENAME,'DATA',channeldata); % Writes new Channel Data to .sqd file given by 'filename'. The template % (Acquisition and Setup Information) is chosen from SQDHANDLE. It assumes % that the channeldata is in a format (shown below) and appropriately ...
github
lcnbeapp/beapp-master
get.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/external/sqdproject/@acqparam/get.m
3,525
utf_8
c36be430c00919d46ee5184a3794613e
function out = get(t,prop) % GET(T,PROP) Get object properties. % out = GET(t,'PropertyName') returns the value of the specified % property for the object t. If t is a vector of handles, then % get will return an M-by-1 cell array of values where M is equal % to length(t). If 'PropertyName' is replaced by a 1-by-...
github
lcnbeapp/beapp-master
nansum.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/src/nansum.m
194
utf_8
d26aaa8d5695a2cd15c51e72c3d4a186
% NANSUM provides a replacement for MATLAB's nanmean. % % For usage see SUM. function y = nansum(x, dim) x(isnan(x)) = 0; if nargin==1 y = sum(x); else y = sum(x,dim); end end % function
github
lcnbeapp/beapp-master
nanstd.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/src/nanstd.m
248
utf_8
fa0dc38960ab4c502a685ee11ebb3328
% NANSTD provides a replacement for MATLAB's nanstd that is almost % compatible. % % For usage see STD. Note that the three-argument call with FLAG is not % supported. function Y = nanstd(varargin) Y = sqrt(nanvar(varargin{:})); end % function
github
lcnbeapp/beapp-master
nanmean.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/src/nanmean.m
245
utf_8
8ab56ab826c1e69fd89a8937baae4bf0
% NANMEAN provides a replacement for MATLAB's nanmean. % % For usage see MEAN. function y = nanmean(x, dim) if nargin<2 N = sum(~isnan(x)); y = nansum(x) ./ N; else N = sum(~isnan(x), dim); y = nansum(x, dim) ./ N; end end % function
github
lcnbeapp/beapp-master
ft_connectivity_corr.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/connectivity/ft_connectivity_corr.m
8,589
utf_8
65aed98bf500c7a9cfb427092834352e
function [c, v, outcnt] = ft_connectivity_corr(input, varargin) % FT_CONNECTIVITY_CORR computes correlation, coherence or a related % quantity from a data-matrix containing a covariance or cross-spectral % density. % % Use as % [c, v, n] = ft_connectivity_corr(input, varargin) % % The input data input should be an a...
github
lcnbeapp/beapp-master
ft_connectivity_psi.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/connectivity/ft_connectivity_psi.m
5,649
utf_8
db9ca445aeb3e9dc93fc82e65fdc4335
function [c, v, n] = ft_connectivity_psi(input, varargin) % FT_CONNECTIVITY_PSI computes the phase slope index from a data-matrix % containing the cross-spectral density. It implements the method described % in: Nolte et al., Robustly estimating the flow direction of information % in complex physical systems. Physical...
github
lcnbeapp/beapp-master
sfactorization_wilson2x2.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/connectivity/private/sfactorization_wilson2x2.m
8,406
utf_8
73bfa40093aff0fb82e9ca232813340b
function [H, Z, S, psi] = sfactorization_wilson2x2(S,freq,Niterations,tol,cmbindx,fb,init,checkflag) % SFACTORIZATION_WILSON2X2 performs pairwise non-parametric spectral factorization on % cross-spectra, based on Wilson's algorithm. % % Usage : [H, Z, psi] = sfactorization_wilson(S,freq); % % Inputs : S (1-sided, 3D-...
github
lcnbeapp/beapp-master
ft_warning.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/connectivity/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
lcnbeapp/beapp-master
sfactorization_wilson.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/connectivity/private/sfactorization_wilson.m
7,826
utf_8
42fad4dc181f918d0eae9b4b4158dec0
function [H, Z, S, psi] = sfactorization_wilson(S,freq,Niterations,tol,fb,init,checkflag) % SFACTORIZATION_WILSON performs multivariate non-parametric spectral factorization on % cross-spectra, based on Wilson's algorithm. % % Usage : [H, Z, S, psi] = sfactorization_wilson(S,freq); % % Inputs : S (1-sided, 3D-spectra...
github
lcnbeapp/beapp-master
test_corrupt_matfiles.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/test/test_corrupt_matfiles.m
977
utf_8
5ab1651a584ef5f3c5112d046bde5d58
function test_corrupt_matfiles % MEM 8gb % WALLTIME 10:00:00 files = findfiles('/home/common/matlab/fieldtrip/data/test'); status = true(size(files)); for i=1:length(files) try tmp = load(files{i}); clear tmp fprintf('passed reading %s\n', files{i}); catch status(i) = false; warning('failed r...
github
lcnbeapp/beapp-master
test_tutorial_eventrelatedstatistics.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/test/test_tutorial_eventrelatedstatistics.m
9,523
utf_8
2cf8fa1f8ee413ae513bff8697d5f5e7
function test_tutorial_eventrelatedstatistics(datadir) % MEM 2500mb % WALLTIME 00:20:00 % TEST test_tutorial_eventrelatedstatistics % TEST ft_timelockanalysis ft_multiplotER ft_singleplotER ft_timelockstatistics % TEST ft_topoplotER ft_clusterplot global ft_default; ft_default.feedback = 'no'; if nargin==0 if isp...
github
lcnbeapp/beapp-master
test_old_ft_freqanalysis.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/test/test_old_ft_freqanalysis.m
4,746
utf_8
6af1e431442a1ca536fdb9f401782c5c
function test_old_ft_freqanalysis % MEM 1gb % WALLTIME 00:10:00 % TEST test_old_ft_freqanalysis function test_ft_freqanalysis % TEST_FT_FREQANALYSIS % This script tests the ft_freqanalysis functions using simulated data % A. Stolk and J.M. Schoffelen % simulate one second of data, samplefreq = 1200 hz t = (1:1200)/...
github
lcnbeapp/beapp-master
test_bug1306.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/test/test_bug1306.m
3,242
utf_8
6eafe5e96456aef8810d60524f895038
function test_bug1306b % MEM 1500mb % WALLTIME 00:10:00 % Use function signature below for testing --- note that xUnit does not seem to support it. %function datanew = test_ft_preprocessing(datainfo, writeflag, version) % TEST test_ft_preprocessing % TEST ft_preprocessing ref_datasets % writeflag determines whether...
github
lcnbeapp/beapp-master
test_bug1988.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/test/test_bug1988.m
3,484
utf_8
843427441883f86575969f343d6b7737
function test_bug1988 % MEM 3gb % WALLTIME 00:45:00 % TEST test_bug1988 ft_volumesegment ft_prepare_headmodel %% segmentedmri.mat % from current version may not match what is on the ftp for tutorials % as it's called in the BF tutorial mri = ft_read_mri('/home/common/matlab/fieldtrip/data/ftp/tutorial/beamformer/Su...
github
lcnbeapp/beapp-master
test_ft_sourceanalysis.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/fieldtrip-20160917/test/test_ft_sourceanalysis.m
84,994
utf_8
8dd6e4bc89de5f6d19e62984a36b9342
function [varargout] = test_ft_sourceanalysis(datainfo, writeflag, version, diagnosticsflag) % MEM 4gb % WALLTIME 04:30:00 % TEST test_ft_sourceanalysis % TEST ft_sourceanalysis ref_datasets % writeflag determines whether the output should be saved to disk % version determines the output directory % diagnosticsflag...
github
lcnbeapp/beapp-master
test_ft_preprocessing.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_bug2377b.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_bug1786.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_bug2761.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_csp.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_bug1925.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_timelockanalysis_new.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_bug2225.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_tutorial_coherence.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
inspect_qsubcellfun3.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_printstruct.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_bug2639.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_tutorial_headmodel_meg.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_freqanalysis.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_warning_once.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_connectivity_powcorr_ortho.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_timelockanalysis.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_prepare_mesh.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
trialfun_affcog.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_bug1397.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_bug1618.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_crossfrequencyanalysis.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_selectdata.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_channelcombination.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_analysispipeline.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_componentanalysis.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_prepare_freq_matrices.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
test_ft_checkdata.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
getdimord.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
normals.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
csp.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
hcp_dirlist.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
ft_platform_supports.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
ft_warning.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
benchmark.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
identical.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
getdimsiz.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
hcp_filelist.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
beamformer_pcc.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
beamformer_dics.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
ft_sloreta.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
beamformer_lcmv.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
dipole_fit.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
mesh_spectrum.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
ft_hastoolbox.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
ft_inverse_beamformer_dics.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
FASTER_GUI.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/FASTER_GUI.m
36,087
utf_8
d1fce591456e8b19817ecca7674bdfc3
% FASTER GUI v1.2.1b - see manual for help. function varargout=FASTER_GUI(varargin) % Copyright (C) 2010 Hugh Nolan, Robert Whelan and Richard Reilly, Trinity % College Dublin, % Ireland % nolanhu@tcd.ie, robert.whelan@tcd.ie % % This program is free software; you can redistribute it and/or modify % it under the term...
github
lcnbeapp/beapp-master
h_epoch_interp_spl.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/h_epoch_interp_spl.m
5,579
utf_8
b3f72af0ca562a5a7d2b9cd9eca573ff
% Edit to the EEGLAB interpolation function to interpolate different % channels within each epoch % Cleaned up and removed irrelevant sections. % % Additions Copyright (C) 2010 Hugh Nolan, Robert Whelan and Richard Reilly, Trinity College Dublin, % Ireland % % Based on: % % eeg_interp() - interpolate data channels % % ...
github
lcnbeapp/beapp-master
eegplugin_FASTER.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/eegplugin_FASTER.m
2,551
utf_8
98ac92883268851cbb74b2daa08b7c98
% eegplugin_FASTER() - EEGLAB plugin for using FASTER processing on EEG datasets % % Usage: % >> eegplugin_FASTER(fig, trystrs, catchstrs); % % Inputs: % fig - [integer] EEGLAB figure % trystrs - [struct] "try" strings for menu callbacks. % catchstrs - [struct] "catch" strings for menu callbacks. % ...
github
lcnbeapp/beapp-master
h_eeg_interp_spl.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/h_eeg_interp_spl.m
5,078
utf_8
887ab5def593310f45ee7c583ca04292
% Small edits to the EEGLAB file % Cleaned up and removed irrelevant sections. % % eeg_interp() - interpolate data channels % % Usage: EEGOUT = eeg_interp(EEG, badchans, method); % % Inputs: % EEG - EEGLAB dataset % badchans - [integer array] indices of channels to interpolate. % For instanc...
github
lcnbeapp/beapp-master
h_reref.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/h_reref.m
12,057
utf_8
f9190302954232bfa533a4bb51c9ca87
% Small edits to the EEGLAB file % % reref() - convert common reference EEG data to some other common reference % or to average reference % Usage: % >> Dataout = reref(data); % convert all channels to average reference % >> [Dataout Chanlocs] = reref(data, refchan, 'key', 'val'); % ...
github
lcnbeapp/beapp-master
h_pop_reref.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/h_pop_reref.m
14,783
utf_8
363e04d93bd0a84d86aea7f1fb86d6e1
% Small edits to the EEGLAB file % % pop_reref() - Convert an EEG dataset to average reference or to a % new common reference channel (or channels). Calls reref(). % Usage: % >> EEGOUT = pop_reref( EEG ); % pop up interactive window % >> EEGOUT = pop_reref( EEG, ref, 'key', 'val' ...); % % Gra...
github
lcnbeapp/beapp-master
hurst_exponent.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/hurst_exponent.m
1,324
utf_8
f2772282eef28b3eeec78642c5fd889e
% The Hurst exponent %-------------------------------------------------------------------------- % This function does dispersional analysis on a data series, then does a % Matlab polyfit to a log-log plot to estimate the Hurst exponent of the % series. % % This algorithm is far faster than a full-blown implementation...
github
lcnbeapp/beapp-master
firws.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/firfilt1.5.1/firfilt1.5.1/firws.m
3,227
utf_8
3d732467f46f18c70fca51f36feabfd4
%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
lcnbeapp/beapp-master
pop_firma.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/firfilt1.5.1/firfilt1.5.1/pop_firma.m
3,364
utf_8
4e1fb5835a4bfa56f8b8ad7d6ed377c1
% 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
lcnbeapp/beapp-master
pop_firpm.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/firfilt1.5.1/firfilt1.5.1/pop_firpm.m
7,905
utf_8
18b20a1644f32aa46e8fdad8b3ca5149
% 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
lcnbeapp/beapp-master
pop_eegfiltnew.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/firfilt1.5.1/firfilt1.5.1/pop_eegfiltnew.m
6,988
utf_8
192e6c0679f44e762fb295fe7898d611
% 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); % % Inputs: % EEG - EEG...
github
lcnbeapp/beapp-master
pop_xfirws.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/firfilt1.5.1/firfilt1.5.1/pop_xfirws.m
10,433
utf_8
e50f8473a53547e08ecf35bde0822a84
% 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
lcnbeapp/beapp-master
eegplugin_firfilt.m
.m
beapp-master/Packages/eeglab14_1_2b/plugins/FASTER/firfilt1.5.1/firfilt1.5.1/eegplugin_firfilt.m
2,623
utf_8
e2cbc71201334f670b757782339a1a16
% 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/FASTER/firfilt1.5.1/firfilt1.5.1/windows.m
2,884
utf_8
d5dd1dd418a0157f1d74aa637483adbb
% 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/FASTER/firfilt1.5.1/firfilt1.5.1/pop_firpmord.m
2,985
utf_8
43d544f8a2934971e0ff4943c503d958
% 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/FASTER/firfilt1.5.1/firfilt1.5.1/firfilt.m
4,314
utf_8
a73172ef5f6e0bf92a874f207472f213
% 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/FASTER/firfilt1.5.1/firfilt1.5.1/pop_firws.m
9,357
utf_8
b9d85da74165773f413cbb09e6f4ae29
% 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/FASTER/firfilt1.5.1/firfilt1.5.1/plotfresp.m
3,628
utf_8
76c9766074bc2ceaea8414f8be2bee6d
% 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/FASTER/firfilt1.5.1/firfilt1.5.1/pop_firwsord.m
5,357
utf_8
c13d3b977f890fd6703ddf1e8c6528f5
% 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/FASTER/firfilt1.5.1/firfilt1.5.1/pop_kaiserbeta.m
2,323
utf_8
7dd46855b195aba93c307d7b61185ad1
% 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/FASTER/firfilt1.5.1/firfilt1.5.1/findboundaries.m
1,875
utf_8
1cf26fcfa1c97aa8a5201a81c4a63bc2
% 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
firfiltdcpadded.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
minphaserceps.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
firws.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
pop_firma.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
pop_firpm.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
pop_eegfiltnew.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
pop_xfirws.m
.m
beapp-master/Packages/eeglab14_1_2b/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
lcnbeapp/beapp-master
firfiltsplit.m
.m
beapp-master/Packages/eeglab14_1_2b/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...