To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

The primary repository for this project is hosted at git://github.com/rmeddis/MAP.git .
This repository is a read-only copy which is updated automatically every hour.

Statistics Download as Zip
| Branch: | Revision:

root / multithreshold 1.46 / paradigms / paradigm_absThreshold_16.m @ 29:b51bf546ca3f

History | View | Annotate | Download (1.17 KB)

1
function paradigm_absThreshold16(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