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
loglike.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/loglike.m
1,238
utf_8
b9a8aa64d20e0fc72257880d837f9f19
% loglike() - log likehood function to estimate dependence between components % % Usage: f = loglike(W, S); % % Computation of the log-likelihood function under the model % that the ICs are 1/cosh(s) distributed (according to the tanh % nonlinearity in ICA). It does not exactly match for the logistic % nonlinearity, b...
github
lcnhappe/happe-master
corrimage.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/corrimage.m
25,394
utf_8
aaddb89d7d26c507e8075ec38d644f0a
% corrimage() - compute correlation image between an event and amplitude % and phase in the time-frequency domain. % % Usage: % corrimage(data, sortvar, times); % [times, freqs, alpha, sigout, limits ] = corrimage(data, sortvar, ... % times, 'key1', val1, 'key2'...
github
lcnhappe/happe-master
dendhier.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/dendhier.m
1,290
utf_8
4ad99782a7d86d471c4ce68b9a0dbf1e
% DENDHIER: Recursive algorithm to find links and distance coordinates on a % dendrogram, given the topology matrix. % % Usage: [links,topology,node] = dendhier(links,topology,node) % % links = 4-col matrix of descendants, ancestors, descendant % distances, and ancest...
github
lcnhappe/happe-master
runicalowmem.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/runicalowmem.m
62,951
utf_8
ae726ddb4771edbac5539b0c00cf3fb9
% runica() - Perform Independent Component Analysis (ICA) decomposition % of input data using the logistic infomax ICA algorithm of % Bell & Sejnowski (1995) with the natural gradient feature % of Amari, Cichocki & Yang, or optionally the extended-ICA % algorithm of Lee, G...
github
lcnhappe/happe-master
eeg_time2prev.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eeg_time2prev.m
6,514
utf_8
b09492c5bf451c4d42c06b87dc8921af
% eeg_time2prev() - returns a vector giving, for each event of specified ("target") type(s), % the delay (in ms) since the preceding event (if any) of specified % ("previous") type(s). Requires the EEG.urevent structure, plus % EEG.event().urevent pointers to it....
github
lcnhappe/happe-master
helpforexe.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/helpforexe.m
2,556
utf_8
dc086adf5a27490f1a3e39f6d218bbd1
% helpforexe() - Write help files for exe version % % Usage: % histtoexe( mfile, folder) % % Inputs: % mfile - [cell of string] Matlab files with help message % folder - [string] Output folder % % Output: % text files name help_"mfile".m % % Author: Arnaud Delorme, 2006 % % See also: eeglab() % Copyright (C)...
github
lcnhappe/happe-master
imagesclogy.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/imagesclogy.m
3,685
utf_8
73cfa531e2316e4148fec6793f6f8646
% imagesclogy() - make an imagesc(0) plot with log y-axis values (ala semilogy()) % % Usage: >> imagesclogy(times,freqs,data); % Usage: >> imagesclogy(times,freqs,data,clim,xticks,yticks,'key','val',...); % % Inputs: % times = vector of x-axis values % freqs = vector of y-axis values (LOG spaced) % data = matr...
github
lcnhappe/happe-master
gauss.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/gauss.m
431
utf_8
ac68a4b38603e75bbb97ab7770117c1c
% gauss() - return a smooth Gaussian window % % Usage: % >> outvector = gauss(frames,sds); % % Inputs: % frames = window length % sds = number of +/-std. deviations = steepness % (~0+ -> flat; >>10 -> spike) function outvec = gauss(frames,sds) outvec = []; if nargin < 2 help gauss return end ...
github
lcnhappe/happe-master
runpca2.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/runpca2.m
2,347
utf_8
bec4863264e507c374a64d5ecbfe4132
% runpca() - perform principal component analysis (PCA) using singular value % decomposition (SVD) using Matlab svd() or svds() % >> inv(eigvec)*data = pc; % Usage: % >> [pc,eigvec,sv] = runpca(data); % >> [pc,eigvec,sv] = runpca(data,num,norm) % % Inputs: % data - input d...
github
lcnhappe/happe-master
loc_subsets.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/loc_subsets.m
8,435
utf_8
0d9bef14db75412fc13a4088966c510a
% loc_subsets() - Separate channels into maximally evenly-spaced subsets. % This is achieved by exchanging channels between subsets so as to % increase the sum of average of distances within each channel subset. % Usage: % >> subset = loc_subsets(chanlocs, nchans); % select an eve...
github
lcnhappe/happe-master
pcexpand.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/pcexpand.m
2,209
utf_8
2e520d826d0abe34ee1356fd8766e594
% pcexpand() - expand data using Principal Component Analysis (PCA) % returns data expanded from a principal component subspace % [compare pcsquash()] % Usage: % After >> [eigenvectors,eigenvalues,projections] = pcsquash(data,ncomps); % then >> [expanded_data...
github
lcnhappe/happe-master
detectmalware.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/detectmalware.m
1,726
utf_8
805aa37c62f2d84ecb6d36df2499d684
% this function detects potential malware in the current folder and subfolders % % Author: A. Delorme, Cotober 2013 function detectmalware(currentFolder); if nargin < 1 currentFolder = pwd; end; folderContent = dir(currentFolder); folderContent = { folderContent.name }; malwareStrings = { 'eval(' 'evalin(' 'eva...
github
lcnhappe/happe-master
loadelec.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/loadelec.m
2,360
utf_8
655d4fbe32be8c99d9d4a2f4deb754a6
% loadelec() - Load electrode names file for eegplot() % % Usage: >> labelmatrix = loadelec('elec_file'); % % Author: Colin Humprhies, CNL / Salk Institute, 1996 % % See also: eegplot() % Copyright (C) Colin Humphries, CNL / Salk Institute, Aug, 1996 % % This program is free software; you can redistribute it and/or m...
github
lcnhappe/happe-master
erpregout.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/erpregout.m
3,083
utf_8
a7430431f9ce614aaa04b826032bfcd5
% erpregout() - regress out the ERP from the data % % Usage: % newdata = erpregout(data); % [newdata erp factors] = erpregout(data, tlim, reglim); % % Inputs: % data - [float] 2-D data (times x trials) or 3-D data % (channels x times x trials). % % Optional inputs: % tlim - [min max] time limi...
github
lcnhappe/happe-master
compdsp.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/compdsp.m
7,154
utf_8
d81cd429eda825751f36ef7706ea02bc
% compdsp() - Display standard info figures for a data decomposition % Creates four figure windows showing: Component amplitudes, % scalp maps, activations and activation spectra. % Usage: % >> compdsp(data,weights,locfile,[srate],[title],[compnums],[amps],[act]); % % Inputs: % data =...
github
lcnhappe/happe-master
perminv.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/perminv.m
1,386
utf_8
d5fe91da3ab79a692c0adbd6b4a9498a
% perminv() - returns the inverse permutation vector % % Usage: >> [invvec] = perminverse(vector); % % Author: Scott Makeig, SCCN/INC/UCSD, La Jolla, 11-30-96 % Copyright (C) 11-30-96 Scott Makeig, SCCN/INC/UCSD, scott@sccn.ucsd.edu % % This program is free software; you can redistribute it and/or modify % it under t...
github
lcnhappe/happe-master
runicatest.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/runicatest.m
40,794
utf_8
39e884850dab339c9c4e2a052d4cf934
% runicatest() - Perform Independent Component Analysis (ICA) decomposition % using natural-gradient infomax - the infomax ICA algorithm of % Bell & Sejnowski (1995) with the natural gradient method % of Amari, Cichocki & Yang, the extended-ICA algorithm % of Lee, Girolami...
github
lcnhappe/happe-master
headmovie.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/headmovie.m
8,690
utf_8
38629f7b7a3e0c3097687e8c0aaf3250
% ########## This function is deprecated. Use eegmovie instead. ########## % % headmovie() - Record a Matlab movie of scalp data. % Use seemovie() to display the movie. % % Usage: >> [Movie,Colormap] = headmovie(data,elec_loc,spline_file); % >> [Movie,Colormap,minc,maxc] = headmovie(data,elec_lo...
github
lcnhappe/happe-master
arrow.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/arrow.m
51,888
utf_8
6310afbf5a0ed2b3cfdc0469d9b0c9cd
% arrow() - Draw a line with an arrowhead. % % Usage: % >> arrow('Property1',PropVal1,'Property2',PropVal2,...) % >> arrow(H,'Prop1',PropVal1,...) % >> arrow(Start,Stop) % >> arrow(Start,Stop,Length,BaseAngle,TipAngle,Width,Page,CrossDir) % >> arrow demo %2-D demos of the capabilities of arrow() % >> arrow demo...
github
lcnhappe/happe-master
runpca.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/runpca.m
2,702
utf_8
6fff3a9e04e75993c00583d5969ea9ec
% runpca() - perform principal component analysis (PCA) using singular value % decomposition (SVD) using Matlab svd() or svds() % >> inv(eigvec)*data = pc; % Usage: % >> [pc,eigvec,sv] = runpca(data); % >> [pc,eigvec,sv] = runpca(data,num,norm) % % Inputs: % data - input d...
github
lcnhappe/happe-master
dendplot.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/dendplot.m
2,407
utf_8
b7fd4f2ab62ff9c468fbca95378a2da7
% DENDPLOT: Plots a dendrogram given a topology matrix. % % Usage: dendplot(topology,{labels},{fontsize}) % % topology = [(n-1) x 4] matrix summarizing dendrogram topology: % col 1 = 1st OTU/cluster being grouped at current step % col 2 = 2nd OTU/cluster % ...
github
lcnhappe/happe-master
qrtimax.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/qrtimax.m
4,605
utf_8
64e79c295baa267e2aacf1bcca2c6769
% qrtimax() - perform Quartimax rotation of rows of a data matrix. % % Usage: >> [Q,B] = qrtimax(data); % >> [Q,B] = qrtimax(data,tol,'[no]reorder'); % % Inputs: % data - input matrix % tol - the termination tolerance {default: 1e-4} % noreorder - rotate without negation/reord...
github
lcnhappe/happe-master
matcorr.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/matcorr.m
5,853
utf_8
d0e3089eda2df7656eb20c1f476894f8
% matcorr() - Find matching rows in two matrices and their corrs. % Uses the Hungarian (default), VAM, or maxcorr assignment methods. % (Follow with matperm() to permute and sign x -> y). % % Usage: >> [corr,indx,indy,corrs] = matcorr(x,y,rmmean,method,weighting); % % Inputs: % x = first i...
github
lcnhappe/happe-master
seemovie.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/seemovie.m
2,366
utf_8
e435662809faced2ec20372ec434b114
% seemovie() - see an EEG movie produced by eegmovie() % % Usage: >> seemovie(Movie,ntimes,Colormap) % % Inputs: % Movie = Movie matrix returned by eegmovie() % ntimes = Number of times to display {0 -> -10} % If ntimes < 0, movie will play forward|backward % Colormap = C...
github
lcnhappe/happe-master
abspeak.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/abspeak.m
2,026
utf_8
2258e70a7386f00bc23dd3f8620aa48b
% abspeak() - find peak amps/latencies in each row of a single-epoch data matrix % % Usage: % >> [amps,frames,signs] = abspeak(data); % >> [amps,frames,signs] = abspeak(data,frames); % % Inputs: % data - single-epoch data matrix % frames - frames per epoch in data {default|0 -> whole data} % % Outp...
github
lcnhappe/happe-master
eegplotgold.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eegplotgold.m
12,958
utf_8
d4c4acff7303a59ede1e32c3911c3af7
% eegplotgold() - display EEG data in a clinical format % % Usage: % >> eegplotgold('dataname', samplerate, 'chanfile', 'title', yscaling, range) % % Inputs: % 'dataname' - quoted name of a desktop global variable (see Ex. below) % samplerate - EEG sampling rate in Hz (0 -> default 256 Hz) % 'chanfile' - file of ...
github
lcnhappe/happe-master
makehelpfiles.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/makehelpfiles.m
4,318
utf_8
8a0860d1b106b9754aedcaed8ace4442
% makehelpfiles() - generate function help pages % % Usage: % >> makehelpfiles(list); % % Input: % 'folder' - [string] folder name to process % 'outputfile' - [string] file in which to write the help % 'title' - [string] title for the help % % Author: Arnaud Delorme, UCSD, 2013 % % Example: Generate ...
github
lcnhappe/happe-master
gauss2d.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/gauss2d.m
2,336
utf_8
eb62296c929c63d59753f67dac83f70d
% gauss2d() - generate a 2-dimensional gaussian matrix % % Usage: % >> [ gaussmatrix ] = gauss2d( rows, columns, ... % sigmaR, sigmaC, peakR, peakC, mask) % % Example: % >> imagesc(gauss2d(50, 50)); % image a size (50,50) 2-D gaussian matrix % % Inputs: % rows - number of rows in m...
github
lcnhappe/happe-master
logimagesc.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/logimagesc.m
3,574
utf_8
343cd485721e4ef9c77204704ae0180c
% logimagesc() - make an imagesc(0) plot with log y-axis values (ala semilogy()) % % Usage: >> [logfreqs,dataout] = logimagesc(times,freqs,data); % % Input: % times = vector of x-axis values % freqs = vector of y-axis values % data = matrix of size (freqs,times) % % Optional Input: % plot = ['on'|'off'] plot ...
github
lcnhappe/happe-master
eucl.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eucl.m
4,052
utf_8
d05e24c412ee9044fefe12a801a4f9aa
% EUCL: Calculates the euclidean distances among a set of points, or between a % reference point and a set of points, or among all possible pairs of two % sets of points, in P dimensions. Returns a single distance for two points. % % Syntax: dists = eucl(crds1,crds2) % % crds1 = [N1 x P] matrix...
github
lcnhappe/happe-master
uniquef.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/uniquef.m
2,819
utf_8
81584771d690f2251ea088c5ccfebb54
% UNIQUEF: Given a matrix containing group labels, returns a vector containing % a list of unique group labels, in the sequence found, and a % vector of corresponding frequencies of each group. % Optionally sorts the indices into ascending sequence. % % Note: it might be necessary to...
github
lcnhappe/happe-master
getipsph.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/getipsph.m
2,850
utf_8
d0e227ab4596c6de73b76d9f3bd83f99
% getipsph() - Compute "in place" (m by n) sphering or quasi-sphering matrix for an (n by t) % input data matrix. Quasi-sphering reduces dimensionality of the data, while % maintaining approximately the "original" positions of the axes. That is, % quasi-sphering "rotates back" a...
github
lcnhappe/happe-master
gauss3d.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/gauss3d.m
2,601
utf_8
8b9e654379dccd6f84b0036766f86da3
% gauss3d() - generate a 3-dimensional gaussian matrix % % Usage: % >> [ gaussmatrix ] = gauss2d( nX, nY, nZ); % >> [ gaussmatrix ] = gauss2d( nX, nY, nZ, ... % sigmaX, sigmaY, sigmaZ, ... % centerX, centerY, centerZ, mask) % % Example: % >> gauss3d(3,3,3)...
github
lcnhappe/happe-master
means.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/means.m
2,133
utf_8
9692b1df9d31cb08b359424b637cfeff
% MEANS: Means, standard errors and variances. For column vectors, means(x) % returns the mean value. For matrices or row vectors, means(x) is a % row vector containing the mean value of each column. The basic % difference from the Matlab functions mean() and var() is for a row vector, %...
github
lcnhappe/happe-master
eegdrawg.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eegdrawg.m
3,602
utf_8
5bf94e46002cff31e2f4befee9f9d78f
% eegdrawg() - subroutine used by eegplotgold() to plot data. % % Author: Colin Humphries, CNL, Salk Institute, La Jolla, 7/96 % Copyright (C) Colin Humphries, CNL, Salk Institute 7/96 from eegplot() % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public...
github
lcnhappe/happe-master
averef.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/averef.m
2,628
utf_8
a00dedfa26c8a0304625f45a9689b499
% averef() - convert common-reference EEG data to average reference % Note that this old function is not being used in EEGLAB. The % function used by EEGLAB is reref(). % % Usage: % >> data = averef(data); % >> [data_out W_out S_out meandata] = averef(data,W); % % Inputs: % data - 2D data ma...
github
lcnhappe/happe-master
laplac2d.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/laplac2d.m
2,365
utf_8
1b371aaa27a868a1cba1dfb75b3ed92d
% laplac2d() - generate a 2 dimensional gaussian matrice % % Usage : % >> [ gaussmatrix ] = laplac2d( rows, columns, sigma, ... % meanR, meanC, cut) % % Example : % >> laplac2d( 5, 5) % % Inputs: % rows - number of rows % columns - number of columns % sigma - stan...
github
lcnhappe/happe-master
varsort.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/varsort.m
3,451
utf_8
f28836747df60204b4cb5eba5a4f1810
% varsort() - reorder ICA components, largest to smallest, by % the size of their MEAN projected variance % across all time points % Usage: % >> [windex,meanvar] = varsort(activations,weights,sphere); % % Inputs: % activations = (chans,framestot) the runica() activations % weights = ...
github
lcnhappe/happe-master
eegdraw.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eegdraw.m
3,816
utf_8
8cf02a8c097d9de09a6aa145d4bfba65
% eegdraw() - subroutine used by eegplotold() to plot data. % % Author: Colin Humphries, CNL, Salk Institute, La Jolla, 7/96 % Copyright (C) Colin Humphries, CNL, Salk Institute 7/96 from eegplot() % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public L...
github
lcnhappe/happe-master
eegmovie.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eegmovie.m
10,994
utf_8
e8d4266027ffe169448945aed8f2b937
% eegmovie() - Compile and view a Matlab movie. % Uses scripts eegplotold() and topoplot(). % Use seemovie() to display the movie. % Usage: % >> [Movie,Colormap] = eegmovie(data,srate,elec_locs, 'key', val, ...); % % Or legacy call % >> [Movie,Colormap] = eegmovie(data,srate,elec_locs,title,m...
github
lcnhappe/happe-master
gabor2d.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/gabor2d.m
3,449
utf_8
669aa44c02685a4e73e5568196a23efb
% gabor2d() - generate a two-dimensional gabor matrice. % % Usage: % >> [ matrix ] = gabor2d(rows, columns); % >> [ matrix ] = gabor2d( rows, columns, freq, ... % angle, sigmaR, sigmaC, meanR, meanC, dephase, cut) % Example : % >> imagesc(gabor2d( 50, 50)) % % Inputs: % rows - n...
github
lcnhappe/happe-master
makehtml.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/makehtml.m
13,268
utf_8
ab43eb5b6d347b47f14edde57f938911
% makehtml() - generate .html function-index page and function help pages % composed automatically from formatted Matlab function help messages % % Usage: % >> makehtml(list, outputdir); % >> makehtml(list, outputdir, 'key1', val1, 'key2', val2, ...); % % Input: % list - (1) List (cell arra...
github
lcnhappe/happe-master
covary.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/covary.m
1,482
utf_8
be5b9b3870c8f6344a4441160ea51bf0
% covary() - For vectors, covary(X) returns the variance of X. % For matrices, covary(X)is a row vector containing the % variance of each column of X. % % Notes: % covary(X) normalizes by N-1 where N is the sequence length. % This makes covary(X) the best unbiased estimate of th...
github
lcnhappe/happe-master
convolve.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/convolve.m
1,721
utf_8
9bced09132932ed26fd7caf0d6d760f7
% convolve() - convolve two matrices (normalize by the sum of convolved % elements to compensate for border effects). % % Usage: % >> r = convolve( a, b ); % % Inputs: % a - first input vector % b - second input vector % % Outputs: % r - result of the convolution % % Aut...
github
lcnhappe/happe-master
textgui.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/textgui.m
6,446
utf_8
d4e6f305686806a2d18faf7a89d49999
% textgui() - make sliding vertical window. This window contain text % with optional function calls at each line. % % Usage: % >> textgui( commandnames, helparray, 'key', 'val' ...); % % Inputs: % commandnames - name of the commands. Either char array or cell % array of char. All style ...
github
lcnhappe/happe-master
kmeans_st.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/kmeans_st.m
8,156
utf_8
8dec33b3e9581d7f84c4deb47caa720d
% KMEANS: K-means clustering of n points into k clusters so that the % within-cluster sum of squares is minimized. Based on Algorithm % AS136, which seeks a local optimum such that no movement of a % point from one cluster to another will reduced the within-cluster % sum of squares. Te...
github
lcnhappe/happe-master
caliper.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/caliper.m
6,421
utf_8
a3602aa087935fa1182c2455a6e8d7ef
% caliper() - Measure a set of spatial components of a given data epoch relative to % a reference epoch and decomposition. % Usage: % >> [amp,window]=caliper(newepoch,refepoch,weights,compnums,filtnums,times,'noplot'); % % Inputs: % newepoch = (nchannels,ntimes) new data epoch % refepoch = a (nch...
github
lcnhappe/happe-master
help2html2.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/help2html2.m
16,616
utf_8
0b84a93365f77c167a0f2096b04d0f30
% help2html() - Convert a Matlab m-file help-message header into an .html help file % % Usage: % >> linktext = help2html( filein, fileout, 'key1', val1, 'key2', val2 ...); % % Inputs: % filein - input filename (with .m extension) % fileout - output filename (if empty, generated automatically) % % Opti...
github
lcnhappe/happe-master
getallmenus.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/getallmenus.m
2,254
utf_8
757fe9c0de1f75dd78ee6012bb2c3ddf
% getallmenus() - get all submenus of a window or a menu and return % a tree. % % Usage: % >> [tree nb] = getallmenus( handler ); % % Inputs: % handler - handler of the window or of a menu % % Outputs: % tree - text output % nb - number of elements in the tree % % Author: Arnau...
github
lcnhappe/happe-master
eeg_regepochs.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eeg_regepochs.m
6,723
utf_8
68a8bef2b1f7b22c806d132a4c322cc6
% eeg_regepochs() - Convert a continuous dataset into consecutive epochs of % a specified regular length by adding dummy events of type % and epoch the data around these events. Alternatively % only insert events for extracting these epochs. % Ma...
github
lcnhappe/happe-master
eegplotold.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eegplotold.m
33,034
utf_8
f08480f9c8c3fcde09afda52f574a1f3
% eegplotold() - display data in a horizontal scrolling fashion % with (optional) gui controls (version 2.3) % Usage: % >> eegplotold(data,srate,spacing,eloc_file,windowlength,title) % >> eegplotold('noui',data,srate,spacing,eloc_file,startpoint,color) % % Inputs: % data - Input data matr...
github
lcnhappe/happe-master
chanproj.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/chanproj.m
7,033
utf_8
3944e3a2db15df4da52766d602a832d0
% chanproj() - make a detailed plot of data returned from plotproj() % for given channel. Returns the data plotted. % Usage: % >> [chandata] = chanproj(projdata,chan); % >> [chandata] = chanproj(projdata,chan,ncomps,framelist,limits,title,colors); % % Inputs: % projdata = data returned from plotpro...
github
lcnhappe/happe-master
zica.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/zica.m
3,366
utf_8
0daa4d2de301c49787f0d7e9e070ffb9
% zica() - Z-transform of ICA activations; useful for studying component SNR % % Usage: >> [zact,basesd,maz,mazc,mazf] = zica(activations,frames,baseframes) % % Inputs: % activations - activations matrix produced by runica() % frames - frames per epoch {0|default -> length(activations)} % baseframes - vect...
github
lcnhappe/happe-master
rotatematlab.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/rotatematlab.m
180
utf_8
1d0c90aba89a0dd6de52d0081b4ad3dd
% This function calls the Matlab rotate function % This prevents the issue with the function in the private folder of Dipfit function rotatematlab(varargin) rotate(varargin{:});
github
lcnhappe/happe-master
del2map.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/del2map.m
3,940
utf_8
0e518801cfa22cd909a1faa406f9cf7d
% del2map() - compute the discrete laplacian of an EEG distribution. % % Usage: % >> [ laplac ] = del2map( map, filename, draw ); % % Inputs: % map - level of activity (size: nbChannel) % filename - filename (.loc file) countaining the coordinates % of the electrodes, or array countaining c...
github
lcnhappe/happe-master
readlocsold.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/readlocsold.m
3,560
utf_8
55da540b1b04dfe07379075941625ac1
% readlocsold() - Read electrode locations file in style of topoplot() or headplot(). % Output channel information is ordered by channel numbers. % % Usage: >> [nums labels th r x y] = readlocsold(locfile);% {default, polar 2-D} % >> [nums labels th r x y] = readlocsold(locfile,'polar'); % 2-D %...
github
lcnhappe/happe-master
crossfreq.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/crossfreq.m
15,218
utf_8
a9ff87c9098280c7729af6c878a8fd45
% crossfreq() - compute cross-frequency coherences. Power of first input % correlation with phase of second. % % Usage: % >> crossfreq(x,y,srate); % >> [coh,timesout,freqsout1,freqsout2,cohboot] ... % = crossfreq(x,y,srate,'key1', 'val1', 'key2', val2' ...); % Inputs: % x ...
github
lcnhappe/happe-master
upgma.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/upgma.m
3,664
utf_8
2bbad43f658a73df320ccccb6256d938
% UPGMA: Unweighted pair-group hierarchical cluster analysis of a distance % matrix. Produces plot of dendrogram. To bootstrap cluster support, % see cluster(). % % Usage: [topology,support] = upgma(dist,{labels},{doplot},{fontsize}) % % dist = [n x n] symmetric distance matrix. % ...
github
lcnhappe/happe-master
mapcorr.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/mapcorr.m
6,842
utf_8
4dc2783fce24c7d3b647bb2d2cac4436
% mapcorr() - Find matching rows in two matrices and their corrs. % Uses the Hungarian (default), VAM, or maxcorr assignment methods. % (Follow with matperm() to permute and sign x -> y). % % Finds correlation of maximum common subset of channels (using % channel location...
github
lcnhappe/happe-master
uniqe_cell_string.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/uniqe_cell_string.m
637
utf_8
4db73f96310fef763282d550920e9d65
function uniqueStrings = uniqe_cell_string(c) % uniqe string from a cell-array containing only strings, ignores all % non-strings. nonStringCells = []; for i=1:length(c) % remove non-string cells if ~strcmp(class(c{i}),'char') nonStringCells = [nonStringCells i]; end; end; c(nonStringCells) = []; uniq...
github
lcnhappe/happe-master
make_timewarp.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/make_timewarp.m
9,686
utf_8
248333ed7e02db8061c3f52067e368ff
% make_timewarp() - Select a subset of epochs containing a given event sequence, and return % a matrix of latencies for time warping the selected epochs to a common % timebase in newtimef(). Events in the given sequence may be further % restricted to those with s...
github
lcnhappe/happe-master
fieldtrip2eeglab.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/fieldtrip2eeglab.m
1,269
utf_8
442a73a6c0d6090b20bc0444bad3aba7
% load data file ('dataf') preprocessed with fieldtrip % and show in eeglab viewer % % This function is provided as is. It only works for some specific type of % data. This is a simple function to help the developer and by no mean % an all purpose function. function [EEG] = fieldtrip2eeglab(dataf) [ALLEEG EEG CURRENT...
github
lcnhappe/happe-master
rmart.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/rmart.m
6,530
utf_8
f8a4b6645ed700ac44e8b0933750ef36
% rmart() - Remove eye artifacts from EEG data using regression with % multiple time lags. Each channel is first made mean-zero. % After JL Kenemans et al., Psychophysiology 28:114-21, 1991. % % Usage: >> rmart('datafile','outfile',nchans,chanlist,eogchan,[threshold]) % Example: >> rmart('noisy....
github
lcnhappe/happe-master
vectdata.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/vectdata.m
4,693
utf_8
e2d5960f3405659d0cdcb6645ef43835
% vectdata() - vector data interpolation with optional moving % average. % % Usage: % >> [interparray timesout] = vectdata( array, timesin, 'key', 'val', ... ); % % Inputs: % array - 1-D or 2-D float array. If 2-D, the second dimension % only is interpolated. % timesin - [floa...
github
lcnhappe/happe-master
matperm.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/matperm.m
2,919
utf_8
697c96bef1109a7011a0d4781bfbedc3
% matperm() - transpose and sign rows of x to match y (run after matcorr() ) % % Usage: >> [permx indperm] = matperm(x,y,indx,indy,corr); % % Inputs: % x = first input matrix % y = matrix with same number of columns as x % indx = column containing row indices for x (from matcorr()) % indy = column co...
github
lcnhappe/happe-master
varimax.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/varimax.m
4,437
utf_8
d87cb189d37524e4920c2f9ad9c41aa4
% varimax() - Perform orthogonal Varimax rotation on rows of a data % matrix. % % Usage: >> V = varimax(data); % >> [V,rotdata] = varimax(data,tol); % >> [V,rotdata] = varimax(data,tol,'noreorder') % % Inputs: % data - data matrix % tol - set the termination tolerance to ...
github
lcnhappe/happe-master
pcsquash.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/pcsquash.m
2,802
utf_8
9e0a0372b72b09c731ef70785b8ce862
% pcsquash() - compress data using Principal Component Analysis (PCA) % into a principal component subspace. To project back % into the original channel space, use pcexpand() % % Usage: % >> [eigenvectors,eigenvalues] = pcsquash(data,ncomps); % >> [eigenvectors,eigenvalues,com...
github
lcnhappe/happe-master
nan_std.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/nan_std.m
1,304
utf_8
d53859297282cc1d957ec0f2cc0b3617
% nan_std() - std, not considering NaN values % % Usage: std across the first dimension % Author: Arnaud Delorme, CNL / Salk Institute, Sept 2003 % Copyright (C) 2003 Arnaud Delorme, Salk Institute, arno@salk.edu % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU ...
github
lcnhappe/happe-master
plotproj.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/plotproj.m
5,772
utf_8
a22a956e9c31d1ee84c4bbb5a663cd53
% plotproj() - plot projections of one or more ICA components along with % the original data (returns the data plotted) % % Usage: % >> [projdata] = plotproj(data,weights,compnums); % >> [projdata] = plotproj(data,weights,compnums, ... % title,limits,chanlist,channames,...
github
lcnhappe/happe-master
numdim.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/numdim.m
2,007
utf_8
220904d43bdb749aef158ee0bdef4040
% numdim() - estimate a lower bound on the (minimum) number of discrete sources % in the data via their second-order statistics. % Usage: % >> num = numdim( data ); % % Inputs: % data - 2-D data (nchannel x npoints) % % Outputs: % num - number of sources (estimated from second order measures) % %...
github
lcnhappe/happe-master
eeg_ms2f.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eeg_ms2f.m
623
utf_8
bf8ab362a73704ef273b03319ce179c0
% eeg_ms2f() - convert epoch latency in ms to nearest epoch frame number % % Usage: % >> outf = eeg_ms2f(EEG,ms); % Inputs: % EEG - EEGLAB data set structure % ms - epoch latency in milliseconds % Output: % outf - nearest epoch frame to the specified epoch latency % % Author: Scott Make...
github
lcnhappe/happe-master
compsort.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/compsort.m
8,288
utf_8
43da793b46f111b7671ea6db2e79e699
% compsort() - reorder ICA components, first largest to smallest by the size % of their maximum variance in the single-component projections, % then (if specified) the nlargest component projections are % reordered by the (within-epoch) time point at which they reach % ...
github
lcnhappe/happe-master
compheads.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/compheads.m
6,160
utf_8
96edaf4aa50c50ccb4f752823d03b1d4
% compheads() - plot multiple topoplot() maps of ICA component topographies % % Usage: % >> compheads(winv,'spline_file',compnos,'title',rowscols,labels,view) % % Inputs: % winv - Inverse weight matrix = EEG scalp maps. Each column is a % map; the rows correspond to the electrode positions ...
github
lcnhappe/happe-master
logspec.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/logspec.m
4,318
utf_8
233385ae8dbccb9910ad8e624d8d7244
% logspec() - plot mean log power spectra of submitted data on loglog scale % using plotdata() or plottopo() formats % % Usage: % >> [spectra,freqs] = logspec(data,frames,srate); % >> [spectra,freqs] = logspec(data,frames,srate,'title',... % [loHz-hiHz],'cha...
github
lcnhappe/happe-master
tftopo.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/tftopo.m
25,662
utf_8
927788fa42a8c1c1676c74297725af98
% tftopo() - Generate a figure showing a selected or representative image (e.g., % an ERSP, ITC or ERP-image) from a supplied set of images, one for each % scalp channel. Then, plot topoplot() scalp maps of value distributions % at specified (time, frequency) image points. Else, ...
github
lcnhappe/happe-master
compplot.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/compplot.m
5,162
utf_8
07cf31546d5dbdf48bfb29cba43e9408
% compplot() - plot a data epoch and maps its scalp topography at a given time % % Usage: To plot the projection of an ICA component onto the scalp % >> projdata = icaproj(data,weights,compindex); % % then >> compplot(projdata); % % else to plot an EEG epoch with a topoplot at one selected time point % ...
github
lcnhappe/happe-master
gradmap.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/gradmap.m
3,370
utf_8
98c074ff6b72e6334c66c7e0ee2d3a31
% gradmap() - compute the gradient of an EEG spatial distribution. % % Usage: % >> [gradX, gradY ] = gradmap( map, filename, draw ) % % Inputs: % map - level of activity (size: nbelectrodes x nbChannel) % filename - filename (.loc file) countaining the coordinates % of the electrodes, or arr...
github
lcnhappe/happe-master
fillcurves.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/fillcurves.m
3,697
utf_8
45bdc3bae6abe81f3eb865ff508ed4aa
% fillcurves() - fill the space between 2 curves % % Usage: % h=fillcurves( Y1, Y2); % h=fillcurves( X, Y1, Y2, color, transparent[0 to 1]); % % Example: % a = rand(1, 50); % b = rand(1, 50)+2; b(10) = NaN; % figure; fillcurves([51:100], a, b); % % Author: A. Delorme, SCCN, INC, UCSD/CERCO, CNRS % Copyright ...
github
lcnhappe/happe-master
timefrq.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/timefrq.m
13,419
utf_8
ad65c647dd826b2a55590fc457103cb5
% timefrq() - progressive Power Spectral Density estimates on a single % EEG channel using out-of-bounds and muscle activity rejection % tests. Uses Matlab FFT-based psd(). % Usage: % >> [Power,frqs,times,rejections] = timefrq(data,srate,subwindow); % >> [Power,frqs,times,rejections] = .....
github
lcnhappe/happe-master
imagescloglog.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/imagescloglog.m
4,970
utf_8
88feced6e3b718c968cee7ee9cce24f6
% imagescloglog() - make an imagesc(0) plot with log y-axis and % x-axis values % % Usage: >> imagescloglog(times,freqs,data); % Usage: >> imagescloglog(times,freqs,data,clim,xticks,yticks,'key','val',...); % % Inputs: % times = vector of x-axis values (LOG spaced) % freqs = vector of y-axis val...
github
lcnhappe/happe-master
envproj.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/envproj.m
12,184
utf_8
39c255194bd438d2939c0ab3b8c748d1
% envproj() - plot envelopes of projections of selected ICA component % projections against envelope of the original data % % Usage: >> [envdata] = envproj(data,weights,compnums); % >> [envdata] = envproj(data,weights,compnums, ... % title,limits,chanlist,compn...
github
lcnhappe/happe-master
difftopo.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/difftopo.m
2,957
utf_8
65dc45bf74bc5bcc5cc398b529f2d026
% difftopo - compute and plot component decomposition for the difference ERP % between two EEG datasets. Plots into the current axis (gca); % plot into a new empty figure as below. % Usage: % >> figure; difftopo(ALLEEG,eeg1,eeg2,interval); % Inputs: % ALLEEG - array of leaded EE...
github
lcnhappe/happe-master
testica.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/testica.m
8,781
utf_8
d0cf00d8dae57fbf21e94fd22542c1bf
% testica() - Test the runica() function's ability to separate synthetic sources. % Use the input variables to estimate the (best) decomposition accuracy % for a given data set size. % Usage: % >> testica(channels,frames); % No return variable -> plot results % >> [testresult] = ...
github
lcnhappe/happe-master
promax.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/promax.m
4,345
utf_8
82f2ef61454eb31fd54b2edd42f8cc47
% promax() - perform Promax oblique rotation after orthogonal Varimax % rotation of the rows of the input data. A method for % linear decomposition by "rotating to simple structure." % Usage: % >> [R] = promax(data,ncomps); % >> [R,V] = promax(data,ncomps,maxit); % % Inputs: % ...
github
lcnhappe/happe-master
eegplotsold.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/eegplotsold.m
7,020
utf_8
391a73c20463597978977b106bb495f5
% eegplotsold() - display data in a clinical format without scrolling % % Usage: % >> eegplotsold(data, srate, 'chanfile', 'title', ... % yscaling, epoch, linecolor,xstart,vertmark) % % Inputs: % data - data matrix (chans,frames) % srate - EEG sampling rate in Hz (0 -> 256 Hz)...
github
lcnhappe/happe-master
show_events.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/show_events.m
7,188
utf_8
d36cd636e2fbb7e2a1aeab8faef8155d
% show_events() - Display events in epochs. Events selected by % make_timewarp() function can be optionally highlighted. % Each epoch is visualized as a row in the output image with % events marked by colored rectangles. % % Usage: % >> im = show_events(EEG, 'key1'...
github
lcnhappe/happe-master
crossfold.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/crossfold.m
19,968
utf_8
33b019ccc97af482fda0f0b153baab64
% crossf() - Returns estimates and plot of event-related coherence (ERC) changes % between data from two input channels. The lower panel gives the % coherent phase difference between the processes. In this panel, for Ex. % -90 degrees (blue) means xdata leads ydata by a quarter cycle...
github
lcnhappe/happe-master
fastregress.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/fastregress.m
1,523
utf_8
bbb515bd19057f7c8745299174526222
% fastregress - perform fast regression and return p-value % % Usage: % [ypred, alpha, rsq, B] = myregress(x, y, plotflag); % % Inputs % y - y values % x - x values % plotflag - [0|1] plot regression % % Outputs % ypred - y prediction % alpha - significance level % R^2 - r square % slope - slope of the fit % %...
github
lcnhappe/happe-master
rmsave.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/rmsave.m
723
utf_8
a701a295277a4b69da6facca32c0fc41
% rmsave() - return the RMS in each channel, epoch % % Usage: % >> ave = rmsave(data,frames); % Scott Makeig, CNL/Salk Institute, La Jolla, 9/98 function ave = rmsave(data,frames) if nargin<1 help rmsave return end if nargin<2 frames = size(data,2); data = reshape(data, size(data,1), size(data,2)*size...
github
lcnhappe/happe-master
read_rdf.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/read_rdf.m
1,904
utf_8
e9f06b48010db91ad052b73482eb6e32
% read_rdf() - read RDF-formatted EEG files. % % Usage: % >> [eeg,ev,header] = read_rdf(filename); % % Inputs: % filename - EEG data file in RDF format % % Outputs: % eeg - eeg data (array in size of [chan_no timepoint]; % ev - event structure % ev.sample_offset[] - event offsets in samples % ...
github
lcnhappe/happe-master
hist2.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/hist2.m
2,077
utf_8
e482d20c2cf737a382391c4f4063eed7
% hist2() - draw superimposed histograms % % Usage: % >> hist2(data1, data2, bins); % % Inputs: % data1 - data to plot first process % data2 - data to plot second process % % Optional inputs: % bins - vector of bin center % % Author: Arnaud Delorme (SCCN, UCSD) % Copyright (C) 2003 Arnaud Delorme, Salk ...
github
lcnhappe/happe-master
erpregoutfunc.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/erpregoutfunc.m
1,315
utf_8
028d72b1a69b5f79ce7f9c6a5f00b554
% erpregoutfunc() - sub function of erpregout() used to regress % out the ERP from the data % % Usage: % totdiff = erpregout(fact, data, erp); % % Inputs: % fact - factor % data - [float] 1-D data (time points). % erp - [float] 1-D data (time points). % % Outputs: % totdif - res...
github
lcnhappe/happe-master
dprime.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/dprime.m
22,037
utf_8
4af65f989db5375361e682677d16b31f
% DPRIME - Signal-detection theory sensitivity measure. % % d = dprime(pHit,pFA) % [d,beta] = dprime(pHit,pFA) % % PHIT and PFA are numerical arrays of the same shape. % PHIT is the proportion of "Hits": P(Yes|Signal) % PFA is the proportion of "False Alarms": P(Yes|Noise) % All numbers involved must be b...
github
lcnhappe/happe-master
setfont.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/setfont.m
3,688
utf_8
8ce4efce63ece1dbc7e024a86dd41a60
% setfont() - Change all the fonts properties of a figure. % % Usage: % >> newdata = setfont( handle, 'key', 'val'); % >> [newdata chlab] = setfont( handle, 'key' , 'val', ... ); % >> [newdata chlab] = setfont( handle, 'handletype', handletypevalue, 'key' , 'val', ... ); % % Inputs: % handle - [gcf,gca...
github
lcnhappe/happe-master
makeelec.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/makeelec.m
4,102
utf_8
9b8707861db861dad7e9c657c46b011c
% makeelec() - subroutine to make electrode file in eegplot() % % Usage: >> makeelec(chans) % >> [channames] = makeelec(chans) % % Inputs: % chans - number of channels % % Author: Colin Humprhies, CNL / Salk Institute, 1996 % % See also: eegplot() % Copyright (C) Colin Humphries, CNL / Salk Institute, A...
github
lcnhappe/happe-master
gradplot.m
.m
happe-master/Packages/eeglab14_0_0b/functions/miscfunc/gradplot.m
5,524
utf_8
06af207aeee2691a8ac50369845dfc65
% gradplot() - Compute the gradient of EEG scalp map(s) on a square grid % % Usage: % >> [gradX, gradY] = gradplot(maps,eloc_file,draw) % Inputs: % maps - Activity levels, size (nelectrodes,nmaps) % eloc_file - Electrode location filename (.loc file) containing electrode % - coordinat...
github
lcnhappe/happe-master
std_comppol.m
.m
happe-master/Packages/eeglab14_0_0b/functions/studyfunc/std_comppol.m
2,105
utf_8
90c72a999241b33865a1419e64117e0f
% std_comppol() - inverse component polarity in a component cluster % % Usage: [compout pol] = std_comppol(compin); % % Inputs: % compin - component scalp maps, one per column. % % Outputs: % compout - component scalp maps some of them with inverted % polarities, one per column. % pol - logic...
github
lcnhappe/happe-master
std_readdata.m
.m
happe-master/Packages/eeglab14_0_0b/functions/studyfunc/std_readdata.m
32,955
utf_8
dec4496e7d4fbed868b76072fa81e3fe
% std_readdata() - LEGACY FUNCTION, SHOULD NOT BE USED ANYMORE. INSTEAD % USE std_readerp, std_readspec, ... % load one or more requested measures % ['erp'|'spec'|'ersp'|'itc'|'dipole'|'map'] % for all components of a specified cluster. % ...
github
lcnhappe/happe-master
std_readerp.m
.m
happe-master/Packages/eeglab14_0_0b/functions/studyfunc/std_readerp.m
17,780
utf_8
decd78437277c085adf823d8a08c9d23
% std_readerp() - load ERP measures for data channels or % for all components of a specified cluster. % Called by plotting functions % std_envtopo(), std_erpplot(), std_erspplot(), ... % Usage: % >> [STUDY, datavals, times, setinds, cinds] = ... % ...
github
lcnhappe/happe-master
std_rmalldatafields.m
.m
happe-master/Packages/eeglab14_0_0b/functions/studyfunc/std_rmalldatafields.m
2,441
utf_8
b3f42cacc34383569006753be9c6d82b
% std_rmalldatafields - remove all data fields from STUDY (before saving % it for instance. % % Usage: % STUDY = std_rmalldatafields(STUDY, type); % % Input: % STUDY - EEGLAB study structure % % Optional input: % type - ['chan'|'clust'|'both'] remove from changrp channel loc...