-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemp.m
More file actions
19 lines (17 loc) · 782 Bytes
/
temp.m
File metadata and controls
19 lines (17 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% minT = 0; maxT = 0;
% for ii=1:length(Results)
% trTime = linspace(-Results(ii).(align).parameters{2}, Results(ii).(align).parameters{4}, size(Results(ii).(align).zsc,2));
% minT = min(minT, -Results(ii).(align).parameters{2});
% maxT = max(maxT, Results(ii).(align).parameters{4});
% end
% dt= mean(diff(trTime));
% popTime = linspace(minT, maxT, (maxT-minT)/dt);
%
% nsubj = length(Results);
% for ii=1:nsubj
% trialsUsed = Results(ii).Cue.parameters{10};
% respTime = Results(ii).trials.SpOnset(trialsUsed) - Results(ii).trials.CommandStim(trialsUsed);
% respOffset = Results(ii).trials.SpOffset(trialsUsed) - Results(ii).trials.CommandStim(trialsUsed);
% meanRespTime(ii) = mean(respTime);
% meanRespOffset(ii) = mean(respOffset);
% end