Skip to content
Snippets Groups Projects
Commit a8ab5c8b authored by Grant David Meadors's avatar Grant David Meadors
Browse files

Made the segmentDivider less conversative, will give frames with two science...

Made the segmentDivider less conversative, will give frames with two science segments to the earlier segment.
parent 0ebd0588
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,11 @@ function Hoft = segmentDivider(time0, time1)
upperPre = 0;
intoPre = 0;
end
if ii < numberOfJobs
if ii < 0 % numberOfJobs
% numberOfJobs is a conversative option that will
% avoid any frame with two segments;
% if the check is against zero,
% the frame is given to the job that ends there.
lowerPost = 128*floor(T.list{1}(ii+1)/128);
intoPost = 128 - (T.list{1}(ii+1) - lowerPost);
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment