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_overShoot.m @ 38:c2204b18f4a2

History | View | Annotate | Download (1.61 KB)

1 0:f233164f4c86 rmeddis
function paradigm_overShoot(handles)
2 30:1a502830d462 rmeddis
global stimulusParameters  betweenRuns experiment
3 0:f233164f4c86 rmeddis
4 38:c2204b18f4a2 rmeddis
paradigmBase(handles) % default
5 0:f233164f4c86 rmeddis
6
stimulusParameters.WRVname='targetLevel';
7
stimulusParameters.WRVstartValues=50;
8
stimulusParameters.WRVsteps= [10 2];
9
stimulusParameters.WRVlimits=[-30 110];
10
11
betweenRuns.variableName1='gapDuration';
12
betweenRuns.variableList1=[-.399 -.2];
13
% betweenRuns.variableList1=[-.288 -.218 -.2 -.190 -.170 -.130 -.070 -.030 -.010 .005 .020 .080];
14
% betweenRuns.variableList1=[-.350 -.238 -.213 -.180 -.160 -.100 -.040 -.020 0 .010 .040 .140];
15
betweenRuns.variableName2='maskerLevel';
16
betweenRuns.variableList2=50;
17
18
% delay > masker > gap > target
19
stimulusParameters.stimulusDelay=0.3;
20
21 30:1a502830d462 rmeddis
experiment.maskerInUse=1;
22 0:f233164f4c86 rmeddis
stimulusParameters.maskerType='tone';
23
stimulusParameters.maskerPhase='sin';
24
stimulusParameters.maskerDuration=0.4;
25
stimulusParameters.maskerLevel=betweenRuns.variableList2;
26
stimulusParameters.maskerRelativeFrequency=1;
27
28
stimulusParameters.gapDuration=betweenRuns.variableList1;
29
30
stimulusParameters.targetType='tone';
31
stimulusParameters.targetPhase='sin';
32
stimulusParameters.targetFrequency=1000;
33
stimulusParameters.targetDuration=0.01;
34
stimulusParameters.targetLevel=-stimulusParameters.WRVstartValues(1);
35
36
stimulusParameters.rampDuration=0.005;
37
38
% instructions to user
39
% single interval up/down no cue
40
stimulusParameters.instructions{1}=[{'YES if you hear the added click'}, { }, { 'NO if not (or you are uncertain'}];
41
% single interval up/down with cue
42
stimulusParameters.instructions{2}=[{'count how many distinct clicks you hear'},{'ignore the tones'},{' '},...
43
    {'The clicks must be **clearly distinct** to count'}];