Skip to content

Commit

Permalink
transform into % after normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Junpeng Lao committed Apr 12, 2016
1 parent f05ef88 commit c6fb46d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions GUI/normalization.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function normalization(handles,S,choice)
%Single Trial Method
durind_single_trial = double(handles.duration_single_trial);
FixMap_duration_single_trial = bsxfun(@rdivide,handles.FixMap_single_trial_scaled,durind_single_trial);% divided by the number of trials %(smoothpic-mean(smoothpic(:)))./std(smoothpic(:));%
FixMap = FixMap_duration_single_trial;
FixMap = FixMap_duration_single_trial*100;


if isunix ==0
Expand All @@ -30,7 +30,7 @@ function normalization(handles,S,choice)
else
FixMap_duration_estimated = bsxfun(@rdivide,handles.FixMap_estimated,durind_estimated);% divided by the number of trials %(smoothpic-mean(smoothpic(:)))./std(smoothpic(:));%
end
FixMap = FixMap_duration_estimated;
FixMap = FixMap_duration_estimated*100;


if isunix ==0
Expand Down Expand Up @@ -67,7 +67,7 @@ function normalization(handles,S,choice)
drawnow;
durind = double(handles.duration_single_trial);
FixMap_duration_single_trial = bsxfun(@rdivide,handles.FixMap_single_trial_scaled,durind);% divided by the number of trials %(smoothpic-mean(smoothpic(:)))./std(smoothpic(:));%
FixMap = FixMap_duration_single_trial;
FixMap = FixMap_duration_single_trial*100;
%set(handles.figure1, 'pointer', 'arrow')


Expand Down Expand Up @@ -103,7 +103,7 @@ function normalization(handles,S,choice)
FixMap_duration_estimated = bsxfun(@rdivide,handles.FixMap_estimated,durind);% divided by the number of trials %(smoothpic-mean(smoothpic(:)))./std(smoothpic(:));%

end
FixMap = FixMap_duration_estimated;
FixMap = FixMap_duration_estimated*100;


if isunix==0
Expand Down Expand Up @@ -296,4 +296,4 @@ function normalization(handles,S,choice)



end
end

0 comments on commit c6fb46d

Please sign in to comment.