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 | sobi.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/sobi.m | 5,094 | utf_8 | ce6035ad7a3d7312fee7cf1a37d8e04e | % sobi() - Second Order Blind Identification (SOBI) by joint diagonalization of
% correlation matrices. THIS CODE ASSUMES TEMPORALLY CORRELATED SIGNALS,
% and uses correlations across times in performing the signal separation.
% Thus, estimated time delayed covariance matrices must be nonsi... |
github | lcnbeapp/beapp-master | runica_ml.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/runica_ml.m | 43,480 | utf_8 | 62bb523264cef06666a2d818dea42918 | % 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, Giro... |
github | lcnbeapp/beapp-master | runica_ml2.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/runica_ml2.m | 43,331 | utf_8 | d9f5448e45ce40d04ca05b45c6a092c4 | % 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, Giro... |
github | lcnbeapp/beapp-master | writelocs.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/writelocs.m | 10,300 | utf_8 | f0fb3a6c7068e5ae70ee752f60ad6a76 | % writelocs() - write a file containing channel location, type and gain information
%
% Usage:
% >> writelocs( chanstruct, filename );
% >> writelocs( chanstruct, filename, 'key', 'val' );
%
% Inputs:
% chanstruct - EEG.chanlocs data structure returned by readlocs() containing
% channe... |
github | lcnbeapp/beapp-master | env.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/env.m | 3,005 | utf_8 | 40959ed7c77b4d587e2986bebd89b254 | % env() - return envelope of rows of a data matrix, or optionally
% of the data interpolated to a different sampling rate.
% Usage:
% >> envdata = env(data);
% >> envdata = env(data, timelimits, timearray);
%
% Inputs:
% data - (nchannels,ntimepoints) data array
%
% Optional Inputs:
% timelimits -... |
github | lcnbeapp/beapp-master | uiputfile2.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/uiputfile2.m | 2,674 | utf_8 | 3b31fa4d223e9408a8660905b763639a | % uiputfile2() - same as uigputfile but remember folder location.
%
% Usage: >> uiputfile2(...)
%
% Inputs: Same as uiputfile
%
% Author: Arnaud Delorme & Hilit Serby, Scott Makeig, SCCN, UCSD, 2004
% Thanks to input from Bas Kortmann
%
% Copyright (C) Arnaud Delorme & Hilit Serby, Scott Makeig, SCCN, UCSD, 200... |
github | lcnbeapp/beapp-master | entropy_rej.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/entropy_rej.m | 3,641 | utf_8 | e83760bd8d661f0883b5b955383fa06b | % entropy_rej() - calculation of entropy of a 1D, 2D or 3D array and
% rejection of odd last dimension values of the input data array
% using the discrete entropy of the values in that dimension
% (and using the probability distribution of all columns).
%
% Usage:
% >> [entropy... |
github | lcnbeapp/beapp-master | quantile.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/quantile.m | 2,747 | utf_8 | 1b58a5e543b13e76f3f75afd5f5f9219 | % quantile() - computes the quantiles of the data sample from a distribution X
%
% Description:
% If F is the cumulative distribution function (CDF) of X,
% the p-th-quantile Qp of distribution X is the value for which holds
% F(x) < p, for x < Qp, and
% F(x) >... |
github | lcnbeapp/beapp-master | eventlock.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/eventlock.m | 6,609 | utf_8 | 6794a0982011ab97d748d362169961d5 | % eventlock() - DEPRECATED: Please use eegalign() instead.
% eventlock() - Time lock data epochs to specified event frames or event x-values.
% Use to timelock existing data epochs to reaction times or other events
%
% Usage:
% >> [dataout,medval,shiftframes] = eventlock(data,frames,eventframes,medval);
... |
github | lcnbeapp/beapp-master | lookupchantemplate.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/lookupchantemplate.m | 988 | utf_8 | 16a6821223a3b7f6603677a26afeaecd | % lookupchantemplate - look up channel template.
%
% Usage:
% [ found transform ] = lookupchantemplate( filename, template_struct);
%
% Inputs:
% filename - channel location file name
% template_struct - template strcuture as defined in dipfitdefs
%
% Outputs:
% found - [0|1] 1 if a transformation was... |
github | lcnbeapp/beapp-master | readbdf.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/readbdf.m | 3,261 | utf_8 | e0daaa58677f9efc8fade44506ade229 | % readbdf() - Loads selected Records of an EDF or BDF File (European Data Format
% for Biosignals) into MATLAB. This function is outdate
% Use the functions sopen() and sread() instead
%
% This program is deprecated (obsolete). Use the sopen() and sread()
% function instead
% Version 2.11
%... |
github | lcnbeapp/beapp-master | readedf.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/readedf.m | 3,038 | utf_8 | 1d2f12e3aec361bb64c8efdaa0d89e50 | % readedf() - read eeg data in EDF format.
%
% Usage:
% >> [data,header] = readedf(filename);
%
% Input:
% filename - file name of the eeg data
%
% Output:
% data - eeg data in (channel, timepoint)
% header - structured information about the read eeg data
% header.length - length of header to jump ... |
github | lcnbeapp/beapp-master | loadeeg.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/loadeeg.m | 10,210 | utf_8 | 3148017a8fe87eb6fa0f26fb433c1800 | % loadeeg() - load a binary data file in Neuroscan .eeg file format.
%
% Usage:
% >> signal = loadeeg(filename);
% >> [signal, accept, typeeeg, rt, response, chan_names, pnts, ...
% ntrials, srate, xmin, xmax] = loadeeg( filename, chanlist, ...
% triallist, typerange, accepttype, rtrange, responsetype);
%
%... |
github | lcnbeapp/beapp-master | textsc.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/textsc.m | 1,970 | utf_8 | 026488f9e2b4f1772ba1821581c5a6e6 | % textsc() - places text in screen coordinates and places
% a title at the top of the figure.
%
% Usage:
% H = textsc(X,Y,TXT) places the text string, TXT
% at the normalized coordinates X and Y. H is the
% handle to the text object.
%
% H = textsc(TXT,'title') places a title at the top
% of the f... |
github | lcnbeapp/beapp-master | runica_mlb.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/runica_mlb.m | 42,615 | utf_8 | 84b622d9b09d26c3a20c36f5b695f9b6 | % 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, Giro... |
github | lcnbeapp/beapp-master | eventalign.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/eventalign.m | 1,247 | utf_8 | aae47eaea14a78b572fa7ac4a27e027d | % eventalign - function called by pop_importevent() to find the best
% sampling rate ratio to align 2 arrays of data events.
%
% Author: Arnaud Delorme, SCCN/INC/UCSD, Dec 2003
% Copyright (C) Arnaud Delorme, CNL / Salk Institute, 9 Feb 2002, arno@salk.edu
%
% This program is free software; you can redis... |
github | lcnbeapp/beapp-master | writecnt.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/writecnt.m | 19,451 | utf_8 | 2103534700b0526bc4c1e243609e91d9 | % writecnt() - Write a Neuroscan continuous signal file.
%
% Usage:
% >> writecnt(filename, CNT-dataset, varargin)
%
% Inputs:
% filename - name of the file with extension
% dataset - name of the CNT-dataset, a structure with the following fields
% cntdataset.header
% cntdata... |
github | lcnbeapp/beapp-master | topo2sph.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/topo2sph.m | 3,809 | utf_8 | e3c2ecaa32b502b60d330735ade6b95d | % topo2sph() - convert a topoplot() style 2-D polar-coordinate
% channel locations file to a 3-D spherical-angle
% file for use with headplot()
% Usage:
% >> [c h] = topo2sph('eloc_file','eloc_outfile', method, unshrink);
% >> [c h] = topo2sph( topoarray, method, unshrink );
%
% Inputs:
%... |
github | lcnbeapp/beapp-master | spher.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/spher.m | 365 | utf_8 | 0308dc258a2489d286651ab9504dbea9 | % spher() - return the sphering matrix for given input data
%
% Usage:
%
% >> sphere_matrix = spher(data);
%
% Reference: T. Bell (1996) - - -
%
% S. Makeig CNL / Salk Institute, La Jolla CA 7-17-97
function sphere = spher(data)
if nargin<1 | size(data,1)<1
help spher
return
end
sphere = 2.0*inv(sqrtm(... |
github | lcnbeapp/beapp-master | copyaxis.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/copyaxis.m | 3,016 | utf_8 | ab1ad1b3dfa8e1a8ff4adaa6b8902625 | % copyaxis() - helper function for axcopy()
%
% Usage: >> copyaxis();
% >> copyaxis( command );
%
% Note: The optional command option (a string that will be evaluated
% when the figure is created allows to customize display).
%
% Author: Tzyy-Ping Jung, SCCN/INC/UCSD, La Jolla, 2000
%
% See also: axcopy(... |
github | lcnbeapp/beapp-master | eegplot_readkey.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/eegplot_readkey.m | 231 | utf_8 | a65a871257ff3e64f58f29ff2c190071 | % eegplot helper function to read key strokes
function eegplot_readkey(src,evnt)
if strcmp(evnt.Key, 'rightarrow')==1
eegplot('drawp',4);
elseif strcmp(evnt.Key, 'leftarrow')==1
eegplot('drawp',1);
end
|
github | lcnbeapp/beapp-master | moveaxes.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/moveaxes.m | 2,214 | utf_8 | 91a62b9d7772562c4900a56b35247ae9 | % moveaxes() - move, resize, or copy Matlab axes using the mouse
%
% Usage: >> moveaxes
% >> moveaxes(fig)
% >> moveaxes off
%
% Note: clicking the left mouse button selects an axis
% dragging the left mouse button resizes a selected axis
% dragging the right mouse button copies a selected ax... |
github | lcnbeapp/beapp-master | parsetxt.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/parsetxt.m | 1,595 | utf_8 | daf4054768bfdb3e9112cbb24966ca21 | % parsetxt() - parse text input into cell array
%
% Usage: >> cellarray = parsetxt( txt, delims );
%
% Inputs:
% txt - input text
% delims - optional char array of delimiters (default: [' ' ',' 9]);
%
% Note: commas, and simple quotes are ignored
%
% Author: Arnaud Delorme, CNL / Salk Institute, 18 April 2002... |
github | lcnbeapp/beapp-master | coregister.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/coregister.m | 39,331 | utf_8 | 14a6f71096e2d95a1ff015fc16764102 | % coregister() - Co-register measured or template electrode locations with a
% a reference channel locations file. For instance if you
% want to perform dipole modeling you have to coregister
% (align) your channel electrodes with the model (and the
% ea... |
github | lcnbeapp/beapp-master | transformcoords.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/transformcoords.m | 4,303 | utf_8 | 5c18fcc7b4908f6238aee6106d85e43c | % transformcoords() - Select nazion and inion in anatomical MRI images.
%
% Usage:
% mewcoords = transformcoords(coords, rotate, scale, center, reverse);
%
% Inputs:
% coords - array of 3-D coordinates (3 by N or N by 3)
% rotate - [pitch roll yaw] rotate in 3-D using pitch (x plane),
% roll ... |
github | lcnbeapp/beapp-master | rejkurt.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/rejkurt.m | 4,127 | utf_8 | 871cc2da42fee9b970ec91508ece96fb | % rejkurt() - calculation of kutosis of a 1D, 2D or 3D array and
% rejection of outliers values of the input data array
% using the discrete kutosis of the values in that dimension.
%
% Usage:
% >> [kurtosis rej] = rejkurt( signal, threshold, kurtosis, normalize);
%
% Inputs:
% signal... |
github | lcnbeapp/beapp-master | readeetraklocs.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/readeetraklocs.m | 2,399 | utf_8 | 9e9ab75538baff3f8e51e2d15bcbbfc8 | % readeetraklocs() - read 3-D location files saved using the EETrak
% digitizing software.
% Usage:
% >> CHANLOCS = readeetraklocs( filename );
%
% Inputs:
% filename - [string] file name
%
% Outputs:
% CHANLOCS - EEGLAB channel location data structure.
% See hel... |
github | lcnbeapp/beapp-master | nan_mean.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/nan_mean.m | 1,341 | utf_8 | e87ae15c116d4211709116e3c5abf693 | % nan_mean() - Average, not considering NaN values
%
% Usage: same as mean()
% Author: Arnaud Delorme, CNL / Salk Institute, 16 Oct 2002
% Copyright (C) 2001 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 General P... |
github | lcnbeapp/beapp-master | dipoledensity.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/dipoledensity.m | 22,135 | utf_8 | e26078ef7126108f2f7737b5c773de3d | % dipoledensity() - compute and optionally plot a measure of the 3-D spatial
% (in)homogeneity of a specified (large) set of 1- or 2-dipole
% component models, either as physical dipole density or as
% dipole-position entropy across subjects. In either case,
% ... |
github | lcnbeapp/beapp-master | icaproj.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/icaproj.m | 5,346 | utf_8 | 4a90dc72f4d7531154efd0ac71fb422c | % icaproj() - project ICA component activations through the
% associated weight matrices to reconstitute the
% observed data using only the selected ICA components.
% Usage:
% >> [icaprojdata] = icaproj(data,weights,compindex,[datameans],chansout);
%
% Inputs:
% data - data matrix (ch... |
github | lcnbeapp/beapp-master | epoch.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/epoch.m | 7,001 | utf_8 | 340a95a2503450e01dbd7c4c0dcc9951 | % epoch() - Extract epochs time locked to specified events from continuous EEG data.
%
% Usage:
% >> epocheddata = epoch( data, events, timelim);
% >> [epocheddata, newtime, indices, rerefevent, rereflatencies ] = ...
% epoch( data, events, timelim, 'key1', value1, ... );
%
% Inputs:
% data ... |
github | lcnbeapp/beapp-master | headplot.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/headplot.m | 34,780 | utf_8 | df090bdd0b2bc2329ab6ebb70a00813d | % headplot() - plot a spherically-splined EEG field map on a semi-realistic
% 3-D head model. Can 3-D rotate the head image using the left
% mouse button.
% Example:
% >> headplot example % show an example spherical 'eloc_angles' file
% >> headplot cartesian % show an example cartesian... |
github | lcnbeapp/beapp-master | eegfiltfft.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/eegfiltfft.m | 4,093 | utf_8 | 7a24c770da0253fdd7c37b4d445adada | % eegfiltfft() - (high|low|band)-pass filter data using inverse fft
% (without using the Matlab signal processing toolbox)
% Usage:
% >> [smoothdata] = eegfiltfft(data,srate,locutoff,hicutoff);
% >> [smoothdata] = eegfiltfft(data,srate,locutoff,hicutoff,epochframes,filtorder,revfilt);
%
% Inputs:
% ... |
github | lcnbeapp/beapp-master | rejstatepoch.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/rejstatepoch.m | 17,342 | utf_8 | 284e9677ee175d6c99cf0d443ddc1676 | % rejstatepoch() - reject bad eeg trials based a statistical measure. Can
% be applied either to the raw eeg data or the ICA
% component activity. This is an interactive function.
%
% Usage:
% >> [ Irej, Irejdetails, n, threshold, thresholdg] = ...
% rejstatep... |
github | lcnbeapp/beapp-master | binica.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/binica.m | 13,069 | utf_8 | e1bfb70b5edae53d01116b6f9cf42d51 | % binica() - Run stand-alone binary version of runica() from the
% Matlab command line. Saves time and memory relative
% to runica(). If stored in a float file, data are not
% read into Matlab, and so may be larger than Matlab
% can handle owing to memory limitations.
% Usa... |
github | lcnbeapp/beapp-master | mattocell.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/mattocell.m | 1,311 | utf_8 | bb1357cab390093724fa7887f66ebef3 | % mattocell() - convert matrix to cell array
%
% Usage: >> C = mattocell( M );
%
% Author: Arnaud Delorme, CNL / Salk Institute, Jan 25 2002
%
% Note: this function overload the nnet toolbox function mattocell,
% but does not have all its capacities. You can delete the current
% function if you have the toolbox.
% ... |
github | lcnbeapp/beapp-master | readegihdr.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/readegihdr.m | 3,589 | utf_8 | 009a2ce2b93412350699c09bebfaeb4e | % readegihdr() - read header information from EGI (versions 2,3,4,5,6,7) data file.
%
% Usage:
% >> [head] = readegihdr(fid,forceversion)
%
% Input:
% fid - file identifier of EGI datafile
% forceversion - optional integer input to override automatic reading of version number.
%
% Output:
% head - structure con... |
github | lcnbeapp/beapp-master | timtopo.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/timtopo.m | 15,459 | utf_8 | a449d814e428e5d230cda9f0adfe661a | % timtopo() - plot all channels of a data epoch on the same axis
% and map its scalp map(s) at selected latencies.
% Usage:
% >> timtopo(data, chan_locs);
% >> timtopo(data, chan_locs, 'key', 'val', ...);
% Inputs:
% data = (channels,frames) single-epoch data matrix
% chan_locs = channel loc... |
github | lcnbeapp/beapp-master | rmbase.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/rmbase.m | 3,813 | utf_8 | 7f8fcb4d54c16b3482b307e2c8133cbb | % rmbase() - subtract basevector channel means from multi-epoch data matrix
%
% Usage:
% >> [dataout] = rmbase(data); % remove whole-data channel means
% >> [dataout datamean] = rmbase(data,frames,basevector);
% % remove mean of basevector from each channel and epoch
% Inputs:
% data - da... |
github | lcnbeapp/beapp-master | realproba.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/realproba.m | 2,315 | utf_8 | f564644151c35bcc6b310d8e54773abd | % realproba() - compute the effective probability of the value
% in the sample.
%
% Usage:
% >> [probaMap, probaDist ] = realproba( data, discret);
%
% Inputs:
% data - the data onto which compute the probability
% discret - discretisation factor (default: (size of data)/5)
% ... |
github | lcnbeapp/beapp-master | eegfilt.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/eegfilt.m | 8,031 | utf_8 | 5d305e3ed98f5df8a36f43880470f905 | % eegfilt() - (high|low|band)-pass filter data using two-way least-squares
% FIR filtering. Optionally uses the window method instead of
% least-squares. Multiple data channels and epochs supported.
% Requires the MATLAB Signal Processing Toolbox.
% Usage:
% >> [smoothdata] = ... |
github | lcnbeapp/beapp-master | phasecoher.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/phasecoher.m | 13,038 | utf_8 | 2b8981e6f824cfb02a87b964d5e114e4 | % phasecoher() - Implements inter-trial amp/coherence using Gaussian wavelets.
% Returns same data length as input frames.
% Plots results when nargin>6. Outputs have flat ends
% at data indices [1:halfwin] and [frames-halfwin:frames].
% Usage:
% >> [amps,cohers ] = pha... |
github | lcnbeapp/beapp-master | plotchans3d.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/plotchans3d.m | 3,251 | utf_8 | 8664823c760a1d16ba00362311f2de52 | % plotchans3d() - Plots the 3-D configuration from a Polhemus ELP
% file. The axes of the Cartesian coordinate system are
% plotted. The nose is plotted as a bold red segment.
% Usage:
% >> plotchans3d( elpfile, zs);
% >> plotchans3d( [X,Y,Z], elecnames, zs);
%
% Inputs:... |
github | lcnbeapp/beapp-master | biosig2eeglab.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/biosig2eeglab.m | 7,230 | utf_8 | 2031210067e84ab895c75e13e02abf19 | % biosig2eeglab() - convert BIOSIG structue to EEGLAB structure
%
% Usage:
% >> OUTEEG = pop_biosig2eeglab(hdr, data, interval);
%
% Inputs:
% hdr - BIOSIG header
% data - BIOSIG data array
%
% Optional input:
% interval - BIOSIG does not remove event which are outside of
% the data range when i... |
github | lcnbeapp/beapp-master | changeunits.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/changeunits.m | 4,318 | utf_8 | 94064327606cc4ebb997d7e5e58d4bfe | % changeunits() - Takes one or more points in one axes and gives its position
% in another axes. Useful for drawing lines between
% sbplots (see sbplot()).
%
% Usage: >> newpoint(s) = changeunits(point(s),curaxhandle,newaxhandle)
%
% Inputs:
% point(s) - two-column vector of c... |
github | lcnbeapp/beapp-master | ploterp.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/ploterp.m | 3,923 | utf_8 | 86b19356589f4063b6895c62ff72609c | % ploterp() - plot a selected multichannel data epoch on a common timebase
%
% Usage: >> ploterp(data,frames,epoch,[limits],'title',[plotchans]);
%
% Inputs:
% data = EEG/ERP data epoch (chans,frames)
% frames = frames per epoch {default: data length}
% epoch = epoch to plot {default: 1}
% [limits] ... |
github | lcnbeapp/beapp-master | forcelocs.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/forcelocs.m | 7,010 | utf_8 | a97dcbb735eedf75d6f3a7e5590deaee | % forcelocs() - rotate location in 3-D so specified electrodes
% match specified locations.
% CAUTION: Only for use on electrodes in
% and remaining in the upper spherical hemisphere,
% otherwise it will work improperly. Written primarily for
% adju... |
github | lcnbeapp/beapp-master | rejtrend.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/rejtrend.m | 3,677 | utf_8 | 9196ccbe2b666079d926f2bbbdc7fa83 | % rejtrend() - detect linear trends in EEG activity and reject the
% epoched trials based on the accuracy of the linear
% fit.
% Usage:
% >> [rej rejE] = rejtrend( signal, winsize, maxslope, minR, step);
%
% Inputs:
% signal - 3 dimensional signal (channels x frames x trials)... |
github | lcnbeapp/beapp-master | slider.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/slider.m | 5,310 | utf_8 | da3f7a317a05c2c37254282f6d2b6bac | % slider() - add slider to a figure
%
% Usage:
% >> slider( handler, horiz, vert, horizmag, vertmag);
%
% Inputs:
% handler - figure handler (for the current figure, use gcf)
% horiz - [0|1] add a horizontal slider
% vert - [0|1] add a horizontal slider
% horizmag - magnify the width of the figure be... |
github | lcnbeapp/beapp-master | loadcnt.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/loadcnt.m | 29,097 | utf_8 | 5e1876613970ecc4b37123e6cf44f648 | % loadcnt() - Load a Neuroscan continuous signal file.
%
% Usage:
% >> cnt = loadcnt(file, varargin)
%
% Inputs:
% filename - name of the file with extension
%
% Optional inputs:
% 't1' - start at time t1, default 0. Warning, events latency
% might be innacurate (this is an open issue).
% ... |
github | lcnbeapp/beapp-master | icaact.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/icaact.m | 2,583 | utf_8 | e90b9a3cfaabf4e09cf26a0a692344e4 | % icaact() - compute ICA activation waveforms = weights*sphere*(data-meandata)
%
% Usage: >> [activations] = icaact(data,weights,datamean);
%
% Inputs:
% data = input data (chans,frames)
% weights = unmixing matrix (runica() weights*sphere)
% datamean = 0 or mean(data') (default 0);
%
% Note: If da... |
github | lcnbeapp/beapp-master | gettempfolder.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/gettempfolder.m | 1,470 | utf_8 | 71281778d892c5545193292a61509dd9 | % gettempfolder() - return the temporary folder
%
% Usage: >> folder = gettempfolder;
%
% Output: a string containing the folder if a temporary folder can be found.
% Empty if the folder cannot be found.
%
% Author: Arnaud Delorme, SCCN, UCSD, 2012
%
% Copyright (C) Arnaud Delorme
% This program is free softw... |
github | lcnbeapp/beapp-master | loadtxt.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/loadtxt.m | 6,712 | utf_8 | 6bb912af759266869498c019520fc4c9 | % loadtxt() - load ascii text file into numeric or cell arrays
%
% Usage:
% >> array = loadtxt( filename, 'key', 'val' ...);
%
% Inputs:
% filename - name of the input file
%
% Optional inputs
% 'skipline' - number of lines to skip {default:0}. If this number is
% negative the program will only sk... |
github | lcnbeapp/beapp-master | plotmesh.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/plotmesh.m | 3,048 | utf_8 | 8345a3f062504b918e1d6e64dda75110 | % plotmesh() - plot mesh defined by faces and vertex
%
% Usage:
% plotmesh(faces, vertex);
%
% Input:
% faces - array of N x 3. Each row defines a triangle. The 3 points
% in each row are row indices in the matrix below.
% vertex - array of M x 3 points, (x = first colum; y=second colum
% ... |
github | lcnbeapp/beapp-master | mri3dplot.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/mri3dplot.m | 18,772 | utf_8 | 710c890eda7ee5b1b19e7efefa357f7c | % mri3dplot() - plot 3-D density image translucently on top of the mean MR
% brain image used in dipplot(). Plot brain slices in directions
% 'top' (axial), or 'side' (sagittal), or 'rear' (coronal).
% Creates a new figure(). Smoothing uses Matlab smooth3()
% Usage:
% >> ... |
github | lcnbeapp/beapp-master | spherror.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/spherror.m | 1,249 | utf_8 | c912e32a9b9351420468261b94d5b5e8 | % spherror() - chancenter() sub function to compute minimum distance
% of Cartesian coordinates to a sphere
%
% Author: Scott Makeig, CNL / Salk Institute, 2000
% Copyright (C) Scott Makeig, CNL / Salk Institute, 2000
%
% This program is free software; you can redistribute it and/or modify
% it under the... |
github | lcnbeapp/beapp-master | envtopo.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/envtopo.m | 47,733 | utf_8 | 31745f07983ae21a1a8d735d9a6e5a5e | %
% envtopo() - Plot the envelope of a multichannel data epoch, plus envelopes and
% scalp maps of specified or largest-contributing components. If a 3-D
% input matrix, operates on the mean of the data epochs. Click on
% individual axes to examine them in detail. The black lines ... |
github | lcnbeapp/beapp-master | runica.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/runica.m | 64,918 | utf_8 | bed7f3d555753e34f2f9ea6bccd2c494 | % 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 | lcnbeapp/beapp-master | jader.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/jader.m | 11,455 | utf_8 | 8b74fa9e0345ee0857e1e564b74dd872 | % jader() - blind separation of real signals using JADE (v1.5, Dec. 1997).
%
% Usage:
% >> B = jader(X);
% >> B = jader(X,m);
%
% Notes:
% 1) If X is an nxT data matrix (n sensors, T samples) then
% B=jader(X) is a nxn separating matrix such that S=B*X is an nxT
% matrix of estimated source signals.
% 2)... |
github | lcnbeapp/beapp-master | spectopo.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/spectopo.m | 41,106 | utf_8 | 1d8873878f4c3dc70942cc4aea480585 | % spectopo() - Plot the power spectral density (PSD) of winsize length segments of data
% epochs at all channels as a bundle of traces. At specified frequencies,
% plot the relative topographic distribution of PSD. If available, uses
% pwelch() from the Matlab signal processing t... |
github | lcnbeapp/beapp-master | loadavg.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/loadavg.m | 10,977 | utf_8 | eab4ed6a06ccdcb41d04203ec4f0b489 | % loadavg() - loading eeg average data file from Neuroscan into
% matlab.
% Usage:
% >> [signal, variance, chan_names, ...
% pnts, rate, xmin, xmax] = loadavg( filename, version );
% Input:
% filename - input Neuroscan .avg file
% version - [1 or 2] function version. Default... |
github | lcnbeapp/beapp-master | biosig2eeglabevent.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/biosig2eeglabevent.m | 4,111 | utf_8 | 9ecfe50ab1307bb14c583e5262750407 | % biosig2eeglabevent() - convert biosig events to EEGLAB event structure
%
% Usage:
% >> eeglabevent = biosig2eeglabevent( biosigevent, interval, mode)
%
% Inputs:
% biosigevent - BioSig event structure
% interval - Period to extract events for, in frames.
% Default [] is all.
% mode... |
github | lcnbeapp/beapp-master | acsobiro.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/acsobiro.m | 5,108 | utf_8 | a67b95f026833f1e4dfeaf44fcd94335 | % acsobiro() - A. Chickocki's robust Second-Order Blind Identification (SOBI)
% by joint diagonalization of the time-delayed covariance matrices.
% NOTE: THIS CODE ASSUMES TEMPORALLY CORRELATED SIGNALS.
% Thus, the estimated time-delayed covariance matrices
% for a... |
github | lcnbeapp/beapp-master | metaplottopo.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/metaplottopo.m | 13,145 | utf_8 | 2f89761aa47cc2b3914162e988f6f1cc | % metaplottopo() - plot concatenated multichannel data epochs in a topographic or
% rectangular array. Uses a channel location file with the same
% format as topoplot(), or else plots data on a rectangular grid.
%
% Usage:
% >> axes = metaplottopo(data, 'key1', 'val1', 'key2', 'val2')
%
%... |
github | lcnbeapp/beapp-master | blockave.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/blockave.m | 2,707 | utf_8 | 74345d9d3d97007ec7f3ef4dd137abd4 | % blockave() - make block average of concatenated data sets of same size
% Each data set is assumed to be of size (chans,frames).
% Usage:
% >> aveout = blockave(data,frames)
% >> aveout = blockave(data,frames,epochs,weights)
% Inputs:
% data = data matrix of size (chans,fra... |
github | lcnbeapp/beapp-master | posact.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/posact.m | 2,789 | utf_8 | 485896d0a8c23f3b21a5d76bdb1209fe | % posact() - Make runica() activations all RMS-positive.
% Adjust weights and inverse weight matrix accordingly.
%
% Usage: >> [actout,winvout,weightsout] = posact(data,weights,sphere)
%
% Inputs:
% data = runica() input data
% weights = runica() weights
% sphere = runica() sphere {... |
github | lcnbeapp/beapp-master | eegplot.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/eegplot.m | 91,576 | utf_8 | f16189ff1fb950bdd445c8f97db68826 | % eegplot() - Scroll (horizontally and/or vertically) through multichannel data.
% Allows vertical scrolling through channels and manual marking
% and unmarking of data stretches or epochs for rejection.
% Usage:
% >> eegplot(data, 'key1', value1 ...); % use interface buttons, etc.
%... |
github | lcnbeapp/beapp-master | uigetfile2.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/uigetfile2.m | 2,667 | utf_8 | a344bcefaca772c110df38301343a003 | % uigetfile2() - same as uigetfile but remember folder location.
%
% Usage: >> uigetfile2(...)
%
% Inputs: Same as uigetfile
%
% Author: Arnaud Delorme & Hilit Serby, Scott Makeig, SCCN, UCSD, 2004
% Thanks to input from Bas Kortmann
%
% Copyright (C) Arnaud Delorme & Hilit Serby, Scott Makeig, SCCN, UCSD, 2004... |
github | lcnbeapp/beapp-master | readelp.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/readelp.m | 3,428 | utf_8 | 2869dca997f92d27420c23c7cf912e6f | % readelp() - read electrode locations from an .elp (electrode positions)
% file as generated, for example, by a Polhemus tracking device
% Usage:
% >> [eloc, elocnames, X, Y, Z] = readelp(filename);
%
% Inputs:
% filename - name of the .elp file containing cartesian (XYZ) electrode
% loca... |
github | lcnbeapp/beapp-master | plottopo.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/plottopo.m | 30,821 | utf_8 | eba3d347d7a02858e68b8395d284199f | % plottopo() - plot concatenated multichannel data epochs in a topographic
% or
% rectangular array. Uses a channel location file with the same
% format as topoplot(), or else plots data on a rectangular grid.
% If data are all positive, they are assumed to be spectra.
% Usage:
... |
github | lcnbeapp/beapp-master | plotcurve.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/plotcurve.m | 13,176 | utf_8 | b247086675025ad96d7229832935ff76 | % plotcurve() - plot curve(s) with optional significance highlighting.
%
% Usage: >> plotcurve(times, data, 'key1', 'val1', 'key2', val2' ...);
%
% Required inputs:
% times - [float] vector of time indices
% data - [float] data array, size of [n x times]. If n>1 several
% curves are plotted (unless 'plot... |
github | lcnbeapp/beapp-master | readneurolocs.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/readneurolocs.m | 4,352 | utf_8 | a351981666e50fa3ac943a11a7799b84 | % readneurolocs() - read neuroscan polar location file (.asc)
%
% Usage:
% >> CHANLOCS = readneurolocs( filename );
% >> CHANLOCS = readneurolocs( filename, 'key1', val1, ...);
%
% Inputs:
% filename - file name or matlab cell array { names x_coord y_coord }
%
% Optional inputs:
% same as caliblocs()
% ... |
github | lcnbeapp/beapp-master | condstat.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/condstat.m | 11,329 | utf_8 | 42bfdcd65fdf5e5de0ed089486888d0c | % condstat() - accumulate surrogate data for comparing two data conditions
%
% Usage:
% >> [diffres, accres, res1, res2] = condstat(formula, naccu, alpha, ...
% bootside, condboot, arg1, arg2 ...);
%
% Inputs:
% formula - [string or cell array of strings] formula(s)... |
github | lcnbeapp/beapp-master | movav.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/movav.m | 7,664 | utf_8 | a7743cb15a5f70fdc8db72736287f7ec | % movav() - Perform a moving average of data indexed by xvals.
% Supports use of a moving non-rectangular window.
% Can be used to resample a data matrix to any size
% (see xadv NOTE below) and to regularize sampling of
% irregularly sampled data.
% Usage:
% >> [outdata,outx] ... |
github | lcnbeapp/beapp-master | readtxtfile.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/readtxtfile.m | 1,473 | utf_8 | 884a7c06601ae6728761a5e03fd42521 | % readtxtfile() - Read text file into a Matlab variable
%
% Usage: >> str = readtxtfile( filename );
%
% Input:
% filename - [string] name of the file.
%
% Output:
% str - [string] content of the file.
%
% Author: Arnaud Delorme, SCCN / INC / UCSD, August 2009
% Copyright (C) Arnaud Delorme, August 2009
%
% This p... |
github | lcnbeapp/beapp-master | openbdf.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/sigprocfunc/openbdf.m | 6,712 | utf_8 | 1496f13e75bb80dd10e647e3497b1a52 | % openbdf() - Opens an BDF File (European Data Format for Biosignals) in MATLAB (R)
%
% Usage:
% >> EDF=openedf(FILENAME)
%
% Note: About EDF -> www.biosemi.com/faq/file_format.htm
%
% Author: Alois Schloegl, 5.Nov.1998
%
% See also: readedf()
% Copyright (C) 1997-1998 by Alois Schloegl
% a.schloegl@ieee.org
% Ver ... |
github | lcnbeapp/beapp-master | anova2rm_cell.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/anova2rm_cell.m | 6,774 | utf_8 | 37ad08d0dfb97a5ae59971a6becc90b7 | % anova2rm_cell() - compute F-values in cell array using repeated measure
% ANOVA.
%
% Usage:
% >> [FC FR FI dfc dfr dfi] = anova2rm_cell( data );
%
% Inputs:
% data = data consisting of PAIRED arrays to be compared. The last
% dimension of the data array is used to comput... |
github | lcnbeapp/beapp-master | statcond.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/statcond.m | 24,879 | utf_8 | 8adfae55efd5defaad53dc2a93a6dc25 | % statcond() - compare two or more data conditions statistically using
% standard parametric or nonparametric permutation-based ANOVA
% (1-way or 2-way) or t-test methods. Parametric testing uses
% fcdf() from the Matlab Statistical Toolbox.
% Usage:
% >> [stats, d... |
github | lcnbeapp/beapp-master | surrogdistrib.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/surrogdistrib.m | 5,888 | utf_8 | 18526734957324ab037d603d38a328cf | % surrogdistrib - Build surrogate distribution
%
% surrog = surrogdistrib(data, varargin);
%
% Inputs:
% data - [cell] data arrays for which to compute a surrogate
% distribution.
%
% Optional inputs:
% 'method' - ['bootstrap'|'perm'] use either 'bootstrap' or 'permutation'
% method. Bootstr... |
github | lcnbeapp/beapp-master | stat_surrogate_pvals.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/stat_surrogate_pvals.m | 2,648 | utf_8 | 74534793d4027376c995150218faf240 | function pvals = stat_surrogate_pvals(distribution,observed,tail)
% compute empirical p-vals under the null hypothesis that observed samples
% come from a given surrogate distribution. P-values for Type I error in
% rejecting the null hypothesis are obtained by finding the proportion of
% samples in the distribution th... |
github | lcnbeapp/beapp-master | anova1rm_cell.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/anova1rm_cell.m | 3,731 | utf_8 | 40890df8c96f1a41aca5846c8c9c4883 | % anova1rm_cell() - compute F-values in cell array using repeated measure
% ANOVA.
%
% Usage:
% >> [FC dfc] = anova2rm_cell( data );
%
% Inputs:
% data = data consisting of PAIRED arrays to be compared. The last
% dimension of the data array is used to compute ANOVA.
% Out... |
github | lcnbeapp/beapp-master | teststat.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/teststat.m | 20,505 | utf_8 | 8521a1c623a39fbdaded6534e27d6c3c | % teststat - EEGLAB statistical testing function
%
% Statistics are critical for inference testing in Science. It is thus
% primordial to make sure than all the statistics implemented are
% robust and at least bug free. Statistical function using complex
% formulas are inherently prone to bugs. EEGLAB functions are a... |
github | lcnbeapp/beapp-master | ttest2_cell.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/ttest2_cell.m | 4,634 | utf_8 | cb20a27eff3e4cd6eb3c9ae82e863eed | % ttest2_cell() - compute unpaired t-test. Allow fast computation of
% multiple t-test using matrix manipulation.
%
% Usage:
% >> [F df] = ttest2_cell( { a b } );
% >> [F df] = ttest2_cell(a, b);
% >> [F df] = ttest2_cell(a, b, 'inhomogenous');
%
% Inputs:
% a,b = data consisting of UN... |
github | lcnbeapp/beapp-master | concatdata.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/concatdata.m | 4,076 | utf_8 | f9b1c761e3ea4846ea5891a0ac56a923 | % concatdata - concatenate data stored into a cell array into a single
% array. only concatenate along the last dimension
% Usage:
% [dataarray len dims] = concatata(cellarraydata);
%
% Input:
% cellarraydata - cell array containing data
%
% Output:
% dataarray - single array containing all data
%... |
github | lcnbeapp/beapp-master | ttest_cell.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/ttest_cell.m | 3,107 | utf_8 | a669e2ffb5b0d990717a40eda3db4a2f | % ttest_cell() - compute paired t-test. Allow fast computation of
% multiple t-test using matrix manipulation.
%
% Usage:
% >> [F df] = ttest_cell( { a b } );
% >> [F df] = ttest_cell(a, b);
%
% Inputs:
% a,b = data consisting of PAIRED arrays to be compared. The last
% dime... |
github | lcnbeapp/beapp-master | statcondfieldtrip.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/statcondfieldtrip.m | 15,781 | utf_8 | 796460d89be7fccc4c28be4a80fc7dac | % statcondfiledtrip() - same as statcond except that it uses the fieldtrip
% statistical functions. This is useful to perform
% a wider variety of corrections for multiple
% comparisons for instance.
% Usage:
% >> [stats, df, pvals, surrog]... |
github | lcnbeapp/beapp-master | corrcoef_cell.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/corrcoef_cell.m | 3,242 | utf_8 | 0c78b817804b92c20e7a7a7b084134ab | % corrcoef_cell() - compute pairwise correlations using arrays and
% cell array inputs.
%
% Usage:
% >> c = corrcoef_cell( data );
% >> c = corrcoef_cell( data );
%
% Inputs:
% data - [cell array] data consisting of PAIRED arrays to be compared.
% The last dimension of e... |
github | lcnbeapp/beapp-master | stat_surrogate_ci.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/stat_surrogate_ci.m | 3,125 | utf_8 | cd001b0625997e12a9b2e0bd2accbfe5 | % compute empirical p-vals under the null hypothesis that observed samples
% come from a given surrogate distribution. P-values for Type I error in
% rejecting the null hypothesis are obtained by finding the proportion of
% samples in the distribution that
% (a) are larger than the observed sample (one-sided test)
% (b... |
github | lcnbeapp/beapp-master | anova1_cell.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/anova1_cell.m | 4,428 | utf_8 | 60e8465ee6822f93b4e4d4bcad190d42 | % anova1_cell() - compute F-values in cell array using ANOVA.
%
% Usage:
% >> [F df] = anova1_cell( data );
%
% Inputs:
% data = data consisting of PAIRED arrays to be compared. The last
% dimension of the data array is used to compute ANOVA.
% Outputs:
% F - F-value
% df - degree of f... |
github | lcnbeapp/beapp-master | fdr.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/fdr.m | 2,274 | utf_8 | a2e259c938bee571d8dff0ea437f917f | % fdr() - compute false detection rate mask
%
% Usage:
% >> [p_fdr, p_masked] = fdr( pvals, alpha);
%
% Inputs:
% pvals - vector or array of p-values
% alpha - threshold value (non-corrected). If no alpha is given
% each p-value is used as its own alpha and FDR corrected
% array is ret... |
github | lcnbeapp/beapp-master | anova2_cell.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/statistics/anova2_cell.m | 8,530 | utf_8 | 3f58b154b60557add57c3652a63d8b62 | % anova2_cell() - compute F-values in cell array using ANOVA.
%
% Usage:
% >> [FC FR FI dfc dfr dfi] = anova2_cell( data );
%
% Inputs:
% data = data consisting of PAIRED arrays to be compared. The last
% dimension of the data array is used to compute ANOVA.
% Outputs:
% FC - F-value for... |
github | lcnbeapp/beapp-master | pop_expica.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/pop_expica.m | 2,190 | utf_8 | de6256134d052dc2d501f1da80a85a5a | % pop_expica() - export ICA weights or inverse matrix
%
% Usage:
% >> pop_expica( EEG, whichica); % a window pops up
% >> pop_expica( EEG, whichica, filename );
%
% Inputs:
% EEG - EEGLAB dataset
% whichica - ['weights'|'inv'] export ica 'weights' or ica inverse
% matrix (... |
github | lcnbeapp/beapp-master | pop_loadbci.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/pop_loadbci.m | 13,381 | utf_8 | 471e8acb985f699ddd0e2e3b3a723d45 | % pop_loadbci() - import a BCI2000 ascii file into EEGLAB
%
% Usage:
% >> OUTEEG = pop_loadbci( filename, srate );
%
% Inputs:
% filename - file name
% srate - sampling rate
%
% Outputs:
% OUTEEG - EEGLAB data structure
%
% Author: Arnaud Delorme, CNL / Salk Institute, 9 July 2002
%
% See... |
github | lcnbeapp/beapp-master | pop_fileio.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/pop_fileio.m | 7,131 | utf_8 | 9330dd4ef5ede2f403e6e848748bfd57 | % pop_fileio() - import data files into EEGLAB using FileIO
%
% Usage:
% >> OUTEEG = pop_fileio; % pop up window
% >> OUTEEG = pop_fileio( filename );
%
% Inputs:
% filename - [string] file name
%
% Optional inputs:
% 'channels' - [integer array] list of channel indices
% 'samples' - [min max] sample po... |
github | lcnbeapp/beapp-master | pop_compareerps.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/pop_compareerps.m | 2,848 | utf_8 | d0e259f378ec39efae7121f2225f9cbf | % pop_compareerps() - Compare the (ERP) averages of two datasets.
%
% Usage:
% >> pop_compareerps( ALLEEG, datasetlist, chansubset, title);
% Inputs:
% ALLEEG - array of datasets
% datasetlist - list of datasets
% chansubset - vector of channel subset
% title - plot title
%
% Author: Arnaud De... |
github | lcnbeapp/beapp-master | importevent.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/importevent.m | 16,193 | utf_8 | 3c5abc8a8b32a3fe9ba00144fbaed59d | % importevent() - Import experimental events from data file or Matlab
% array into a structure.
%
% Usage: >> eventstruct = importevent( event, oldevent, srate);
% >> eventstruct = importevent( event, oldevent, srate, 'key1', 'value1', ...);
%
% Input:
% event - [ 'filename'|array ] Filenam... |
github | lcnbeapp/beapp-master | pop_saveset.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/pop_saveset.m | 12,652 | utf_8 | f327353b0e7ee940640ebfd448f68f9d | % pop_saveset() - save one or more EEG dataset structures
%
% Usage:
% >> pop_saveset( EEG ); % use an interactive pop-up window
% >> EEG = pop_saveset( EEG, 'key', 'val', ...); % no pop-up
%
% Inputs:
% EEG - EEG dataset structure. May only contain one datase... |
github | lcnbeapp/beapp-master | eeg_pv.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/eeg_pv.m | 8,193 | utf_8 | 23a0d260095460fdd46f49f5060dcf52 | % eeg_pv() - Compute EEG.data 'percent variance ' (pv) of the whole EEG data versus the projections
% of specified components.
% Can omit specified components and channels from the computation. Can draw a plot
% of the scalp distribution of pv, or progressively compute the pv ... |
github | lcnbeapp/beapp-master | eeg_epoch2continuous.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/eeg_epoch2continuous.m | 1,716 | utf_8 | 79ffa71e29359c2ca1a0f21c2caf95cf | % eeg_epoch2continuous() - convert epoched dataset to continuous dataset
% with data epochs separated by boundary events.
% Usage:
% >> EEGOUT = eeg_epoch2continuous(EEGIN);
%
% Inputs:
% EEGIN - a loaded epoched EEG dataset structure.
%
% Inputs:
% EEGOUT - a continuous EEG data... |
github | lcnbeapp/beapp-master | eeg_interp.m | .m | beapp-master/Packages/eeglab14_1_2b/functions/popfunc/eeg_interp.m | 14,003 | utf_8 | 03c4611ad200bccfeeffd29ef6682a23 | % 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 instance, these channels might be bad.
% [chanlocs structure] channe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.