comparison multithreshold 1.46/paradigms/paradigm_thr_IFMC.m @ 9:ecad0ea62b43

May27 mainly better parameters
author Ray Meddis <rmeddis@essex.ac.uk>
date Tue, 31 May 2011 09:13:07 +0100
parents
children
comparison
equal deleted inserted replaced
8:eafe11c86f44 9:ecad0ea62b43
1 function paradigm_thr_IFMC(handles)
2 global stimulusParameters experiment betweenRuns
3
4 paradigm_training(handles) % default
5
6 betweenRuns.variableName1='targetFrequency';
7 betweenRuns.variableList1=1000;
8 betweenRuns.variableList1=str2num(get(handles.edittargetFrequency,'string'));
9 betweenRuns.variableName2='targetDuration';
10 betweenRuns.variableList2=0.016;
11 betweenRuns.randomizeSequence=1; % 'random sequence'
12
13 % delay > masker > gap > target
14
15
16 stimulusParameters.targetType='tone';
17 stimulusParameters.targetPhase='sin';
18 stimulusParameters.targetFrequency=1000;
19 stimulusParameters.targetDuration=0.016;
20 stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1);
21
22 stimulusParameters.rampDuration=0.004;
23
24 experiment.stopCriteria2IFC=[75 3 5];
25 experiment.singleIntervalMaxTrials=[20];
26
27
28 % forced choice window interval
29 stimulusParameters.AFCsilenceDuration=0.5;
30
31 % instructions to user
32 % single interval up/down no cue
33 stimulusParameters.instructions{1}= [{'YES if you hear the tone clearly'}, { }, { 'NO if not (or you are uncertain'}];
34 % single interval up/down with cue
35 stimulusParameters.instructions{2}= [{'count the tones you hear clearly'}, { }, { 'ignore indistinct tones'}];
36