EEGLAB Matlab graphic user interface environment for electrophysiological data analysis incorporating the ICA/EEG toolbox (Makeig et al.) developed at CNL / The Salk Institute, 1997-2001. Released 11/2002- as eeglab (Delorme, Makeig, et al.) at the Swartz Center for Computational Neuroscience, Institute for Neural Computation, University of California San Diego (http://sccn.ucsd.edu/). User feedback welcome: email eeglab@sccn.ucsd.edu


Authors: Arnaud Delorme and Scott Makeig, with substantial contributions
from Colin Humphries, Sigurd Enghoff, Tzyy-Ping Jung, plus contributions
from Tony Bell, Te-Won Lee, Luca Finelli and many other contributors.

Description: eeglab is Matlab-based software for processing continuous or event-related
EEG or other physiological data. It is designed for use by both novice and
expert Matlab users. In normal use, the eeglab graphic interface calls
graphic functions via pop-up function windows. The eeglab history mechanism
can save the resulting Matlab calls to disk for later incorporation into
Matlab scripts. A single data structure ('EEG') containing all dataset
parameters may be accessed and modified directly from the Matlab commandline.
eeglab now recognizes "plugins," sets of eeglab functions linked to the eeglab
main menu through an "eegplugin_[name].m" function (Ex. >> help eeplugin_besa.m).

Usage: 1) To (re)start eeglab, type
>> eeglab % Ignores any loaded datasets
2) To redaw and update the eeglab interface, type
>> eeglab redraw % Scans for non-empty datasets
>> eeglab rebuild % Closes and rebuilds the eeglab window
>> eeglab versions % State eeglab version number
>> type "license.txt" % the GNU public license
>> web http://sccn.ucsd.edu/eeglab/tutorial/ % the eeglab tutorial
>> help eeg_checkset % the EEG dataset structure

Main files: ----------
eeglab    
main graphic interface
license.txt   
GNU license

Functions added to EEGLAB: --------------------------------------------------------------------
cell2mat()   
cell to matrix, overwrites neural network toolbox function
compvar    
compute component variance
convolve    
smart conv2 (fewer boundary problems)
del2map    
compute a surface Laplacian transform of the data
eegplot    
scrolling multichannel data viewer (with data rejection)
eegplot2event    
process data rejection info from eegplot
eegplot2trial    
process eegplot rejection info
eegrej    
reject portions of continuous eeg data
eegthresh    
simple thresholding method
entropy()   
compute component entropy
epoch    
extract epochs from a continuous dataset
fastif    
fast if function
gabor2d    
2D Gabor matrix
gauss2d    
2D Gauss matrix
getallmenus    
retrieve all menus of a GUI
gradmap    
compute the gradient of a map
h()   
eeglab history function
help2html    
help header to HTML file conversion
inputgui    
function to program GUI (replace inputdlg)
jointprob    
joint probability function
loadcnt    
load continous CNT neuroscan file
laplac2d    
generate a Laplacian matrix output
loadavg    
load neuroscan .AVG file (not in eeglab, only for ERPs)
loaddat    
load neuroscan .DAT file
loadeeg    
load neuroscan .EEG file
loadtxt    
load text file
makehtml    
generate html pages for directories (uses help2html)
mat2cell()   
matrix to cell (local)
pophelp    
format the help header !!!
readedf    
read binary EEG EDF file
readegi    
read binary EEG EGI file
read_erpss    
read ERPSS data
readegihdr    
read binary EEG EGI file header
rejkurt    
calculate and reject data based on kurtosis
rejtrend    
reject EEG showing linear trends !!!
reref    
re-reference data
slider    
graphic slider function
supergui    
allow generation of advanced GUI
readlocs    
read location files .loc, .sph, .xyz, .elp (uses readelp)
parsetxt    
parse a line of text for
readelp    
read Polhemus .ELP file
textgui    
create a text window with sliders (for help text)

GUI Functions calling eponymous processing and plotting functions: ------------------------------------------------------------------
pop_eegfilt    
bandpass filter data (eegfilt)
pop_eegplot    
scrolling multichannel data viewer (eegplot)
pop_eegthresh    
simple thresholding method (eegthresh)
pop_envtopo    
plot ERP data and component contributions (envtopo)
pop_epoch    
extract epochs from a continuous dataset (epoch)
pop_erpimage    
plot single epochs as an image (erpimage)
pop_jointprob    
reject epochs using joint probability (jointprob)
pop_loaddat    
load Neuroscan .DAT info file (loaddat)
pop_loadcnt    
load Neuroscan .CNT data (lndcnt())
pop_loadeeg    
load Neuroscan .EEG data (loadeeg)
pop_loadbva()   
load Brain Vision Analyser matlab files
pop_plotdata    
plot data epochs in rectangular array (plotdata)
pop_read_erpss    
read ERPSS data (read_erpss)
pop_readegi    
load binary EGI data file (readegi)
pop_rejkurt    
compute data kurtosis (rejkurt)
pop_rejtrend    
reject EEG epochs showing linear trends (rejtrend)
pop_resample    
change data sampling rate (resample())
pop_rmbase    
remove epoch baseline (rmbase)
pop_runica    
run infomax ICA decomposition (runica)
pop_newtimef    
event-related time-frequency (newtimef())
pop_timtopo    
plot ERP and scalp maps (timtopo)
pop_topoplot    
plot scalp maps (topoplot)
pop_snapread    
read Snapmaster .SMA files (snapread)
pop_newcrossf    
event-related cross-coherence (newcrossf())
pop_spectopo    
plot all channel spectra and scalp maps (spectopo)
pop_plottopo    
plot a data epoch in a topographic array (plottopo)
pop_readedf()   
read .EDF EEG data format (readedf)
pop_headplot    
plot a 3-D data scalp map (headplot)
pop_reref    
re-reference data (reref)
pop_signalstat    
plot signal or component statistic (signalstat)

Other GUI functions: -------------------
pop_chanevent    
import events stored in data channel(s)
pop_comments    
edit dataset comment ('about') text
pop_compareerps    
compare two dataset ERPs using plottopo
pop_prop    
plot channel or component properties (erpimage, spectra, map)
pop_copyset    
copy dataset
pop_dispcomp()   
display component scalp maps with reject buttons
pop_editeventfield    
edit event fields
pop_editeventvals    
edit event values
pop_editset    
edit dataset information
pop_export    
export data or ica activity to ASCII file
pop_expica    
export ica weights or inverse matrix to ASCII file
pop_icathresh    
choose rejection thresholds (in development)
pop_importepoch    
import epoch info ASCII file
pop_importevent    
import event info ASCII file
pop_importpres    
import Presentation info file
pop_loadset    
load dataset
pop_mergeset    
merge two datasets
pop_rejepoch    
reject pre-identified epochs in a EEG dataset
pop_rejspec    
reject based on spectrum (computes spectrum -% eegthresh)
pop_saveh    
save eeglab command history
pop_saveset    
save dataset
pop_select    
select data (epochs, time points, channels ...)
pop_selectevent    
select events
pop_subcomp    
subtract components from data

Non-GUI functions use for handling the EEG structure: ----------------------------------------------------
eeg_checkset    
check dataset parameter consistency
eeg_context    
return info about events surrounding given events
pop_delset    
delete dataset
pop_editoptions    
edit the option file
eeg_emptyset    
empty dataset
eeg_epochformat    
convert epoch array to structure
eeg_eventformat    
convert event array to structure
eeg_getepochevent    
return event values for a subset of event types
eeg_global    
global variables
eeg_multieegplot    
plot several rejections (using different colors)
eeg_options    
option file
eeg_rejsuperpose    
use by rejmenu to superpose all rejections
eeg_rejmacro    
used by all rejection functions
pop_rejmenu    
rejection menu (with all rejection methods visible)
eeg_retrieve    
retrieve dataset from ALLEEG
eeg_store    
store dataset into ALLEEG

Help functions: --------------
eeg_helpadmin    
help on admin function
eeg_helphelp    
help on help
eeg_helpmenu    
EEG help menus
eeg_helppop    
help on pop_ and eeg_ functions
eeg_helpsigproc    
help on signal processing functions

See the matlab file eeglab.m (may require other functions)