view multithreshold 1.46/paradigms/paradigm_profile.m @ 34:e097e9044ef6

new compression and ne prob refractory
author Ray Meddis <rmeddis@essex.ac.uk>
date Fri, 19 Aug 2011 16:07:07 +0100
parents 82fb37eb430e
children 3ea506487b3b
line wrap: on
line source
function paradigm_profile(handles)
global stimulusParameters experiment betweenRuns

paradigm_training(handles) % default

betweenRuns.variableName1='targetFrequency';
betweenRuns.variableList1=[250 500 1000 2000 4000 8000 ];
betweenRuns.variableName2='targetDuration';
betweenRuns.variableList2=0.016;

stimulusParameters.targetType='tone';
stimulusParameters.targetPhase='sin';
stimulusParameters.targetFrequency=[250 500 1000 2000 4000 8000 ];
stimulusParameters.targetDuration=0.016;
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1);

stimulusParameters.rampDuration=0.004;

experiment.singleIntervalMaxTrials=[50];

% forced choice window interval
stimulusParameters.AFCsilenceDuration=0.5;

% instructions to user
%   single interval up/down no cue
stimulusParameters.instructions{1}= ...
    [{'YES if you hear the tone clearly'}, { }, { 'NO if not (or you are uncertain'}];
%   single interval up/down with cue
stimulusParameters.instructions{2}= ...
    [{'count the tones you hear clearly'}, { }, { 'ignore indistinct tones'}];