forked from brainstorm-tools/brainstorm3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6fd7355
commit 731a4ee
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
% For more information type "brainstorm license" at command prompt. | ||
% =============================================================================@ | ||
% | ||
% Authors: Julien Lef�vre, 2006-2010 | ||
% Authors: Julien Lefevre, 2006-2010 | ||
% Syed Ashrafulla, 2010 | ||
|
||
% INPUTS | ||
|
@@ -44,7 +44,7 @@ | |
|
||
%/---Script Authors---------------------\ | ||
%| | | ||
%| *** J.Lef�vre, PhD | | ||
%| *** J.Lefevre, PhD | | ||
%| [email protected] | | ||
%| | | ||
%\--------------------------------------/ | ||
|
@@ -53,12 +53,12 @@ | |
Faces = FV.Faces; Vertices = FV.Vertices; VertNormals = FV.VertNormals; | ||
nVertices = size(Vertices,1); % VertNormals = FV.VertNormals'; | ||
nFaces = size(Faces,1); | ||
tStartIndex = find(Time < tStart-eps, 1, 'last')+1; % Index of first time point for flow calculation | ||
tStartIndex = find(Time < tStart-100*eps, 1, 'last')+1; % Index of first time point for flow calculation | ||
if isempty(tStartIndex) | ||
[tmp, tStartIndex] = min(Time); | ||
tStartIndex = tStartIndex + 1; | ||
end | ||
tEndIndex = find(Time < tEnd-eps, 1, 'last')+1; % Index of last time point for flow calculation | ||
tEndIndex = find(Time < tEnd-100*eps, 1, 'last')+1; % Index of last time point for flow calculation | ||
if isempty(tEndIndex) | ||
[tmp, tEndIndex] = max(Time); | ||
tEndIndex = tEndIndex + 1; | ||
|