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.
root / multithreshold 1.46 / paradigms / paradigm_psychometric.m @ 31:c54a34161e4a
History | View | Annotate | Download (1.06 KB)
| 1 |
function paradigm_psychometric(handles) |
|---|---|
| 2 |
global stimulusParameters experiment betweenRuns |
| 3 |
|
| 4 |
paradigm_training(handles) % default |
| 5 |
|
| 6 |
experiment.printTracks=1; |
| 7 |
experiment.maxTrials=30; |
| 8 |
|
| 9 |
stimulusParameters.WRVname='targetLevel'; |
| 10 |
stimulusParameters.WRVstartValues=30 ; |
| 11 |
stimulusParameters.WRVsteps=[10 2]; |
| 12 |
stimulusParameters.WRVlimits=[-30 110]; |
| 13 |
|
| 14 |
betweenRuns.variableName1='targetFrequency'; |
| 15 |
betweenRuns.variableList1=1000.01:0.01:1000.05; |
| 16 |
betweenRuns.variableName2='targetDuration'; |
| 17 |
betweenRuns.variableList2=0.1 ; |
| 18 |
|
| 19 |
experiment.maskerInUse=0; |
| 20 |
|
| 21 |
stimulusParameters.targetType='tone'; |
| 22 |
stimulusParameters.targetPhase='sin'; |
| 23 |
stimulusParameters.targetFrequency=1000; |
| 24 |
stimulusParameters.targetDuration=0.1; |
| 25 |
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1); |
| 26 |
|
| 27 |
% instructions to user |
| 28 |
% single interval up/down no cue |
| 29 |
stimulusParameters.instructions{1}= [{'YES if you hear the tone clearly'}, { }, { 'NO if not (or you are uncertain'}];
|
| 30 |
% single interval up/down with cue |
| 31 |
stimulusParameters.instructions{2}= [{'count the tones you hear clearly'}, { }, { 'ignore indistinct tones'}];
|
| 32 |
|
| 33 |
|