Skip to content

Commit

Permalink
fixed interpolation
Browse files Browse the repository at this point in the history
git-svn-id: https://sccn.ucsd.edu/svn/software/eeglab@8245 1e58238c-3a72-4c0f-aabe-36d030380f39
  • Loading branch information
Arnaud Delorme committed Jul 2, 2009
1 parent 3836896 commit 4d3594f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions functions/studyfunc/std_interp.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
% chans - [Cell array] cell array of channel names (labels) to interpolate
% into the data if they are missing from one of the datasets.
% method - [string] griddata() method to use for interpolation.
% See >> help griddata() {default:'invdist'}
% See >> help eeg_interp() {default:'spherical'}
%
% Important limitation:
% This function currently presuposes that all datasets have the same channel
Expand All @@ -21,7 +21,7 @@
% STUDY - study structure.
% ALLEEG - updated datasets.
%
% Author: Arnaud Delorme, CERCO, CNRS, August 2006
% Author: Arnaud Delorme, CERCO, CNRS, August 2006-
%
% See also: eeg_interp()

Expand All @@ -42,6 +42,9 @@
% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

% $Log: not supported by cvs2svn $
% Revision 1.7 2008/02/15 16:44:50 arno
% can now use stored bad channel location for interpolation
%
% Revision 1.6 2008/02/15 16:43:55 arno
% *** empty log message ***
%
Expand Down Expand Up @@ -73,7 +76,7 @@
chans = [];
end;
if nargin < 4
method = 'invdist';
method = 'spherical';
end;

% union of all channel structures
Expand Down

0 comments on commit 4d3594f

Please sign in to comment.