Skip to content

Commit 7d3cbca

Browse files
Typos found by codespell
1 parent 7167379 commit 7d3cbca

File tree

247 files changed

+521
-519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+521
-519
lines changed

.codespellrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[codespell]
2+
ignore-words-list = alls,aussian,childs,datas,dum,ede,espacing,fastr,fo,hist,htmp,leaded,linke,mapp,nd,nwe,ois,ot,otu,pres,ro,ser,strng,sxl,whos

eeglab.m

+7-7
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@
583583
cb_comments = [ check '[EEG.comments LASTCOM] =pop_comments(EEG.comments, ''About this dataset'');' e_store];
584584
cb_chanedit = [ check 'disp(''IMPORTANT: After importing/modifying data channels, you must close'');' ...
585585
'disp(''the channel editing window for the changes to take effect in EEGLAB.'');' ...
586-
'disp(''TIP: Call this function directy from the prompt, ">> pop_chanedit([]);"'');' ...
586+
'disp(''TIP: Call this function directly from the prompt, ">> pop_chanedit([]);"'');' ...
587587
'disp('' to convert between channel location file formats'');' ...
588588
'[EEG TMPINFO TMP LASTCOM] = pop_chanedit(EEG); clear TMPINFO TMP; if ~isempty(LASTCOM), EEG = eeg_checkset(EEG, ''chanlocsize''); end;' ...
589589
e_store ];
@@ -1386,9 +1386,9 @@
13861386
% Revision 1.18 2002/04/18 16:28:28 scott
13871387
% EEG.averef printed as 'Yes' or 'No' -sm
13881388
% Revision 1.16 2002/04/18 16:03:15 scott
1389-
% editted "Events/epoch info (nb) -> Events -sm
1389+
% edited "Events/epoch info (nb) -> Events -sm
13901390
% Revision 1.14 2002/04/18 14:46:58 scott
1391-
% editted main window help msg -sm
1391+
% edited main window help msg -sm
13921392
% Revision 1.10 2002/04/18 03:02:17 scott
13931393
% edited opening instructions -sm
13941394
% Revision 1.9 2002/04/11 18:23:33 arno
@@ -1404,7 +1404,7 @@
14041404
% Revision 1.4 2002/04/11 15:31:47 scott
14051405
% added test isempty(CURRENTSET) line 78 -sm
14061406
% Revision 1.3 2002/04/11 01:41:27 arno
1407-
% checking dataset ... and inteligent menu update
1407+
% checking dataset ... and intelligent menu update
14081408
% Revision 1.2 2002/04/09 20:47:41 arno
14091409
% introducing event number into gui
14101410

@@ -1786,7 +1786,7 @@ function updatemenu()
17861786
set( g.val11, 'String', char(icaconsist));
17871787
set( g.val12, 'String', num2str(round(totsize.bytes/1E6*10)/10));
17881788

1789-
else % one continous dataset selected
1789+
else % one continuous dataset selected
17901790

17911791
menustatus = { menustatus{:} 'continuous_dataset' };
17921792

@@ -1971,7 +1971,7 @@ function updatemenu()
19711971

19721972
end
19731973

1974-
% allways off
1974+
% always off
19751975
eval('indmatchvar = cellfun(@(x)(~isempty(findstr(num2str(x), ''enable:off''))), allstrs);');
19761976
set(allmenus(indmatchvar), 'enable', 'off');
19771977

@@ -2126,7 +2126,7 @@ function myaddpath(eeglabpath, functionname, pathtoadd)
21262126
try
21272127
res = which(varargin{:});
21282128
catch
2129-
fprintf('Warning: permission error accesssing %s\n', varargin{1});
2129+
fprintf('Warning: permission error accessing %s\n', varargin{1});
21302130
end
21312131

21322132
function h = eegmenu( versL, varargin)

functions/@eegobj/subsasgn.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
this = eegobj;
55
end
66

7-
% mulitple dataset
8-
if strcmpi(index(1).type, '()') && length(index) == 1 % dataset assignement
7+
% multiple dataset
8+
if strcmpi(index(1).type, '()') && length(index) == 1 % dataset assignment
99
if isempty(c) % suppression
1010
this(index.subs{1}) = [];
1111
else

functions/@mmo/subsasgn.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
function obj = subsasgn(obj,ss,val)
3333

34-
% check empty assignement
34+
% check empty assignment
3535
% -----------------------
3636
for index = 1:length(ss(1).subs)
3737
if isempty(ss(1).subs{index}), return; end

functions/adminfunc/abouteeglab.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
' ', ...
55
' ', ...
66
'The EEGLAB electrophysiological data analysis software is an open source research', ...
7-
'project developped at the Swartz Center for Computational Neuroscience, Institute', ...
7+
'project developed at the Swartz Center for Computational Neuroscience, Institute', ...
88
'for Neural Computation at the University of California San Diego in collaboration', ...
99
'with The Salk Institute (La Jolla) and the CERCO laboratory (Toulouse) where part', ...
10-
'of the core code was developped.', ...
10+
'of the core code was developed.', ...
1111
' ', ...
1212
'EEGLAB incorporates several third party suites of functions, Fieldtrip for source ', ...
1313
'localization, and BIOSIG for binary file import. A list of plugins is also included', ...

functions/adminfunc/biosigpathfirst.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function biosigpathfirst
2-
% Add BIOSIG at the begining of the path
2+
% Add BIOSIG at the beginning of the path
33

44
str2doublepath = fileparts( which('str2double') );
55
sopenpath = fileparts( which('sopen') );

functions/adminfunc/eeg_cache.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
%
2121
% Examples
2222
% cache = eeg_cache([], 'dyufisf8da0df', 3); % store 3 with hashcode dyufisf8da0df
23-
% [cache data] = eeg_cache(cache, 'dyufisf8da0df'); % retreive 3
23+
% [cache data] = eeg_cache(cache, 'dyufisf8da0df'); % retrieve 3
2424
%
2525
% Authors: Arnaud Delorme, SCCN, INC, UCSD, 2015
2626

functions/adminfunc/eeg_checkset.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
% EEG.xmin - epoch start latency|time (in sec. relative to the
5757
% time-locking event at time 0)
5858
% EEG.xmax - epoch end latency|time (in seconds)
59-
% EEG.times - vector of latencies|times in miliseconds (one per time point)
59+
% EEG.times - vector of latencies|times in milliseconds (one per time point)
6060
% EEG.ref - ['common'|'averef'|integer] reference channel type or number
6161
% EEG.history - cell array of ascii pop-window commands that created
6262
% or modified the dataset
@@ -1125,7 +1125,7 @@
11251125
disp(' number of channels. Channel information have been removed.');
11261126
end
11271127
end
1128-
EEG.chaninfo.icachansind = EEG.icachansind; % just a copy for programming convinience
1128+
EEG.chaninfo.icachansind = EEG.icachansind; % just a copy for programming convenience
11291129

11301130
%if ~isfield(EEG, 'urchanlocs')
11311131
% EEG.urchanlocs = EEG.chanlocs;

functions/adminfunc/eeg_getversion.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
% eeg_getversion() - obtain EEGLAB version number (version is embeded in
1+
% eeg_getversion() - obtain EEGLAB version number (version is embedded in
22
% the script, edit the function to see the version).
33
%
44
% Usage:

functions/adminfunc/eeg_helpadmin.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
%Admin functions (adminfunc folder):
22
% <a href="matlab:helpwin abouteeglab">abouteeglab</a> - Script for compiled EEGLAB version about button...
3-
% <a href="matlab:helpwin biosigpathfirst">biosigpathfirst</a> - Add BIOSIG at the begining of the path...
3+
% <a href="matlab:helpwin biosigpathfirst">biosigpathfirst</a> - Add BIOSIG at the beginning of the path...
44
% <a href="matlab:helpwin biosigpathlast">biosigpathlast</a> - Add BIOSIG at the end of the path to avoid overloading Matlab functions...
55
% <a href="matlab:helpwin eeg_cache">eeg_cache</a> - Store data in cache with hashcode...
66
% <a href="matlab:helpwin eeg_checkchanlocs">eeg_checkchanlocs</a> - Check the consistency of the channel locations structure...
@@ -13,7 +13,7 @@
1313
% <a href="matlab:helpwin eeg_helpgui">eeg_helpgui</a> - Graphic interface builder functions (guifunc folder):...
1414
% <a href="matlab:helpwin eeg_helphelp">eeg_helphelp</a> - How to use EEGLAB help.
1515
% <a href="matlab:helpwin eeg_helpmenu">eeg_helpmenu</a> - EEGLAB menus:...
16-
% <a href="matlab:helpwin eeg_helpmisc">eeg_helpmisc</a> - Miscelaneous functions not used by EEGLAB graphic interface (miscfunc folder):...
16+
% <a href="matlab:helpwin eeg_helpmisc">eeg_helpmisc</a> - Miscellaneous functions not used by EEGLAB graphic interface (miscfunc folder):...
1717
% <a href="matlab:helpwin eeg_helppop">eeg_helppop</a> - EEGLAB graphic interface functions (popfunc folder):...
1818
% <a href="matlab:helpwin eeg_helpsigproc">eeg_helpsigproc</a> - EEGLAB signal processing functions (sigprocfunc folder):...
1919
% <a href="matlab:helpwin eeg_helpstatistics">eeg_helpstatistics</a> - EEGLAB statistics functions (statistics folder):...
@@ -39,7 +39,7 @@
3939
% <a href="matlab:helpwin iseeglabdeployed">iseeglabdeployed</a> - True for EEGLAB compile version and false otherwise...
4040
% <a href="matlab:helpwin ismatlab">ismatlab</a> - True if called from Matlab; false if called from Octave...
4141
% <a href="matlab:helpwin ismember_bc">ismember_bc</a> - Ismember backward compatible with Matlab versions prior to 2013a...
42-
% <a href="matlab:helpwin plugin_askinstall">plugin_askinstall</a> - Install EEGLAB plugin from a GUI or comamnd line...
42+
% <a href="matlab:helpwin plugin_askinstall">plugin_askinstall</a> - Install EEGLAB plugin from a GUI or command line...
4343
% <a href="matlab:helpwin plugin_extract">plugin_extract</a> - Use plugin_menu instead...
4444
% <a href="matlab:helpwin plugin_getweb">plugin_getweb</a> - Support function to get plugin information from the web...
4545
% <a href="matlab:helpwin plugin_install">plugin_install</a> - Install EEGLAB plugin. Called by plugin_askinstall().

functions/adminfunc/eeg_helpmisc.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%Miscelaneous functions not used by EEGLAB graphic interface (miscfunc folder):
1+
%Miscellaneous functions not used by EEGLAB graphic interface (miscfunc folder):
22
% <a href="matlab:helpwin abspeak">abspeak</a> - Find peak amps/latencies in each row of a single-epoch data matrix...
33
% <a href="matlab:helpwin arrow">arrow</a> - Draw a line with an arrowhead.
44
% <a href="matlab:helpwin averef">averef</a> - Convert common-reference EEG data to average reference...

functions/adminfunc/eeg_helppop.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
% <a href="matlab:helpwin eeg_context">eeg_context</a> - Returns (in output 'delays') a matrix giving, for each event of specified...
66
% <a href="matlab:helpwin eeg_countepochs">eeg_countepochs</a> - Eeg_countepochs() Count how many epochs there are of each type...
77
% <a href="matlab:helpwin eeg_decodechan">eeg_decodechan</a> - Given an input EEG dataset structure, output a new EEG data structure...
8-
% <a href="matlab:helpwin eeg_dipselect">eeg_dipselect</a> - Select componet dipoles from an EEG dataset with...
8+
% <a href="matlab:helpwin eeg_dipselect">eeg_dipselect</a> - Select component dipoles from an EEG dataset with...
99
% <a href="matlab:helpwin eeg_eegrej">eeg_eegrej</a> - Reject porition of continuous data in an EEGLAB...
1010
% <a href="matlab:helpwin eeg_emptyset">eeg_emptyset</a> - Initialize an EEG dataset structure with default values.
1111
% <a href="matlab:helpwin eeg_epoch2continuous">eeg_epoch2continuous</a> - Convert epoched dataset to continuous dataset...
@@ -45,7 +45,7 @@
4545
% <a href="matlab:helpwin pop_biosig16">pop_biosig16</a> - Import data files into EEGLAB using BIOSIG toolbox...
4646
% <a href="matlab:helpwin pop_biosig16ying">pop_biosig16ying</a> - Import data files into EEGLAB using BIOSIG toolbox...
4747
% <a href="matlab:helpwin pop_chancenter">pop_chancenter</a> - Recenter cartesian X,Y,Z channel coordinates...
48-
% <a href="matlab:helpwin pop_chancoresp">pop_chancoresp</a> - Define correspondances between two channel locations structures...
48+
% <a href="matlab:helpwin pop_chancoresp">pop_chancoresp</a> - Define correspondences between two channel locations structures...
4949
% <a href="matlab:helpwin pop_chanedit">pop_chanedit</a> - Edit the channel locations structure of an EEGLAB dataset,...
5050
% <a href="matlab:helpwin pop_chanevent">pop_chanevent</a> - Import event latencies from the rising and/or falling 'edge'...
5151
% <a href="matlab:helpwin pop_chansel">pop_chansel</a> - Pop up a graphic interface to select channels...
@@ -108,7 +108,7 @@
108108
% <a href="matlab:helpwin pop_saveh">pop_saveh</a> - Save the EEGLAB session command history stored in ALLCOM...
109109
% <a href="matlab:helpwin pop_saveset">pop_saveset</a> - Save one or more EEG dataset structures...
110110
% <a href="matlab:helpwin pop_select">pop_select</a> - Given an input EEG dataset structure, output a new EEG data structure...
111-
% <a href="matlab:helpwin pop_selectcomps">pop_selectcomps</a> - Display components with button to vizualize their...
111+
% <a href="matlab:helpwin pop_selectcomps">pop_selectcomps</a> - Display components with button to visualize their...
112112
% <a href="matlab:helpwin pop_selectevent">pop_selectevent</a> - Find events in an EEG dataset. If the dataset...
113113
% <a href="matlab:helpwin pop_signalstat">pop_signalstat</a> - Computes and plots statistical characteristics of a signal,...
114114
% <a href="matlab:helpwin pop_snapread">pop_snapread</a> - Load an EEG SnapMaster file (pop out window if no arguments).

functions/adminfunc/eeg_helpsigproc.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
% <a href="matlab:helpwin acsobiro">acsobiro</a> - A. Chickocki's robust Second-Order Blind Identification (SOBI)...
33
% <a href="matlab:helpwin axcopy">axcopy</a> - Copy a Matlab figure axis and its graphic objects to a new pop-up window...
44
% <a href="matlab:helpwin binica">binica</a> - Run stand-alone binary version of runica() from the...
5-
% <a href="matlab:helpwin biosig2eeglab">biosig2eeglab</a> - Convert BIOSIG structue to EEGLAB structure...
5+
% <a href="matlab:helpwin biosig2eeglab">biosig2eeglab</a> - Convert BIOSIG structure to EEGLAB structure...
66
% <a href="matlab:helpwin biosig2eeglabevent">biosig2eeglabevent</a> - Convert biosig events to EEGLAB event structure...
77
% <a href="matlab:helpwin blockave">blockave</a> - Make block average of concatenated data sets of same size...
88
% <a href="matlab:helpwin cart2topo">cart2topo</a> - Convert xyz-cartesian channel coordinates...

functions/adminfunc/eeg_helpstudy.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
% <a href="matlab:helpwin std_erspplot">std_erspplot</a> - Plot STUDY cluster ERSPs. Displays either mean cluster ERSPs,...
5555
% <a href="matlab:helpwin std_figtitle">std_figtitle</a> - Generate plotting figure titles in a cell array...
5656
% <a href="matlab:helpwin std_filecheck">std_filecheck</a> - Check if ERSP or SPEC file contain specific parameters.
57-
% <a href="matlab:helpwin std_fileinfo">std_fileinfo</a> - Check uniform channel distribution accross datasets...
57+
% <a href="matlab:helpwin std_fileinfo">std_fileinfo</a> - Check uniform channel distribution across datasets...
5858
% <a href="matlab:helpwin std_findgroupvars">std_findgroupvars</a> - Find group vars in STUY structure...
5959
% <a href="matlab:helpwin std_findoutlierclust">std_findoutlierclust</a> - Determine whether an outlier cluster already exists...
6060
% <a href="matlab:helpwin std_findsameica">std_findsameica</a> - Find groups of datasets with identical ICA decomposiotions...
@@ -124,6 +124,6 @@
124124
% <a href="matlab:helpwin std_substudy">std_substudy</a> - Create a sub-STUDY set by removing datasets, conditions, groups, or...
125125
% <a href="matlab:helpwin std_topo">std_topo</a> - Uses topoplot() to get the interpolated Cartesian grid of the...
126126
% <a href="matlab:helpwin std_topoplot">std_topoplot</a> - Command line function to plot cluster component and mean scalp maps.
127-
% <a href="matlab:helpwin std_uniformfiles">std_uniformfiles</a> - Check uniform channel distribution accross data files...
128-
% <a href="matlab:helpwin std_uniformsetinds">std_uniformsetinds</a> - Check uniform channel distribution accross datasets...
127+
% <a href="matlab:helpwin std_uniformfiles">std_uniformfiles</a> - Check uniform channel distribution across data files...
128+
% <a href="matlab:helpwin std_uniformsetinds">std_uniformsetinds</a> - Check uniform channel distribution across datasets...
129129
% <a href="matlab:helpwin toporeplot">toporeplot</a> - Re-plot a saved topoplot() output image (a square matrix)...

functions/adminfunc/eeg_helptimefreq.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%EEGLAB time-frequency functions (timefreqfunc folder):
22
% <a href="matlab:helpwin angtimewarp">angtimewarp</a> - Given two event marker vectors, computes a...
33
% <a href="matlab:helpwin bootstat">bootstat</a> - Accumulate surrogate data to assess significance by permutation of some...
4-
% <a href="matlab:helpwin correct_mc">correct_mc</a> - Compute an upper limit for the number of independant...
4+
% <a href="matlab:helpwin correct_mc">correct_mc</a> - Compute an upper limit for the number of independent...
55
% <a href="matlab:helpwin correctfit">correctfit</a> - Correct fit using observed p-values. Use this function...
66
% <a href="matlab:helpwin crossf">crossf</a> - Returns estimates and plots event-related coherence (ERCOH)...
77
% <a href="matlab:helpwin dftfilt">dftfilt</a> - Discrete Fourier filter...

functions/adminfunc/eeglab_error.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
else
6969
tmperr = [ tmperr 10 10 'This is a problem with FIELDTRIP. The Fieldtrip version you downloaded' 10 ...
7070
'is corrupted. Please manually replace Fieldtrip with an earlier version' 10 ...
71-
'and/or email the Fieldtrip developpers so they can fix the issue.' ];
71+
'and/or email the Fieldtrip developers so they can fix the issue.' ];
7272
end
7373
errordlg2(tmperr, header);
7474
end

functions/adminfunc/eeglab_update.m

+7-7
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function eeglab_update(varargin)
7171
stateWarning = warning('query', 'backtrace');
7272
warning('off', 'backtrace');
7373
msg = sprintf(['\nA %s revision of EEGLAB (v%s) is available <a href="matlab:eeglab_update;">HERE</a>.\n%s\n' ...
74-
'See <a href="matlab: web(''%s'', ''-browser'')">Release notes</a> for more informations\n' ...
74+
'See <a href="matlab: web(''%s'', ''-browser'')">Release notes</a> for more information\n' ...
7575
'You may disable this message in the File > Preferences menu.\n' ], ...
7676
fastif(eeglabVersionUpdate.critical, 'CRITICAL', 'newer'), eeglabVersionUpdate.version, ...
7777
eeglabVersionUpdate.releasenotes, eeglabVersionUpdate.webdoc);
@@ -139,7 +139,7 @@ function eeglab_update(varargin)
139139
questdlg2( [ 'EEGLAB cannot modify and save the Matlab path file.' 10 ...
140140
'Although EEGLAB could still be updated, EEGLAB will not' 10 ...
141141
'be able to set paths in a way that is persistent after' 10 ...
142-
'you close Matlab. We therefore recommend that you abord and' 10 ...
142+
'you close Matlab. We therefore recommend that you abort and' 10 ...
143143
'update EEGLAB manually by downloading the EEGLAB zip file' 10 ...
144144
'online, uncompress it on your computer and modify and save' 10 ...
145145
'the Matlab paths manually.' ], 'Install warning message', 'Continue', 'Abord', 'Abord');
@@ -170,7 +170,7 @@ function eeglab_update(varargin)
170170
sprintf('One is at %s', eeglabpath) 10 ...
171171
sprintf('The other one is at %s', eeglabpath2) 10 ...
172172
'You must at least remove one version from the Matlab path' 10 ...
173-
'before you can install a new version of EEGLAB. Abording instalation.' ] );
173+
'before you can install a new version of EEGLAB. Abording installation.' ] );
174174
return
175175
end
176176
end
@@ -226,7 +226,7 @@ function eeglab_update(varargin)
226226
[parentPath,eeglabFolder,ext] = fileparts(res.folder);
227227
eeglabFolder = [ eeglabFolder ext ];
228228

229-
% check if target folder can be writen into
229+
% check if target folder can be written into
230230
% -----------------------------------------
231231
if ~exist(res.folder)
232232
try
@@ -323,7 +323,7 @@ function eeglab_update(varargin)
323323
% copying plugins
324324
% ---------------
325325
disp('EEGLAB require some plugins to function properly.');
326-
disp('Updated vesions of plugins Dipfit, Firfilt, ICLabel, and clean_rawdata are automatically included');
326+
disp('Updated versions of plugins Dipfit, Firfilt, ICLabel, and clean_rawdata are automatically included');
327327
if res.copyplugins
328328
pluginOri = fullfile(eeglabpath, 'plugins');
329329
pluginDest = fullfile(parentPath, eeglabFolder, 'plugins');
@@ -383,5 +383,5 @@ function eeglab_update(varargin)
383383
try
384384
res = which(varargin{:});
385385
catch
386-
fprintf('Warning: permission error accesssing %s\n', varargin{1});
387-
end
386+
fprintf('Warning: permission error accessing %s\n', varargin{1});
387+
end

0 commit comments

Comments
 (0)