123456789101112131415161718192021222324 |
- % duration of proecssing stages
- clear all
- close all
- clc
- dataPath = './data';
- dataFile = '/hmmBu4RroiAveMap3StagBL.mat';
- load([dataPath dataFile],'proBump','nPca', 'x','y','cond', 'subj','flatGam')
- % most likely model: lkhCV [bumps Model, hand Model, Subjects]
- models = 1;
- % COMPUTE durations
- mOnset = cell(models,1); onset = cell(models,1); %(number of bumps model)
- stages = cell(models,1); mStage = cell(models,1);
- for buM = 1:models
- [mOnset{buM,1}, onset{buM,1}, stages{buM,1}, mStage{buM,1}] = getDurations(proBump{buM},x,y); % proBump cell(3,3)
- end
- stagesR = stages{1,1};
- save('./dataSave/durationStages.mat', 'stagesR')
|