% generate parameter structs for subroutines function timelineParams = getTimeLineParams(paramModel) timelineParams = struct; % timelineParams.frameShiftStart = getDouble(paramModel.txtFrameShiftStart); % -20; % timelineParams.frameShiftEnd = getDouble(paramModel.txtFrameShiftEnd); %15; % timelineParams.decodeDuration = getDouble(paramModel.txtFrameShiftDur); timelineParams.psthStart = getDouble(paramModel.txtPSTHStart); % -25; timelineParams.psthEnd = getDouble(paramModel.txtPSTHEnd); % 20; timelineParams.baselineStart = getDouble(paramModel.txtBaselineStart); % -22; timelineParams.baselineEnd = getDouble(paramModel.txtBaselineEnd); % -20; timelineParams.tr = 2; timelineParams.trFactor = getDouble(paramModel.txtTrFactor); end