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_discomfort.m @ 29:b51bf546ca3f
History | View | Annotate | Download (933 Bytes)
| 1 |
function paradigm_discomfort(handles) |
|---|---|
| 2 |
global stimulusParameters experiment betweenRuns |
| 3 |
|
| 4 |
paradigm_training(handles) % default |
| 5 |
|
| 6 |
stimulusParameters.WRVname='targetLevel'; |
| 7 |
stimulusParameters.WRVstartValues=75 ; |
| 8 |
stimulusParameters.WRVsteps=[3 3]; |
| 9 |
stimulusParameters.WRVlimits=[-30 110]; |
| 10 |
|
| 11 |
betweenRuns.variableName1='targetFrequency'; |
| 12 |
betweenRuns.variableList1=[1000]; |
| 13 |
betweenRuns.variableName2='targetDuration'; |
| 14 |
betweenRuns.variableList2=0.5 ; |
| 15 |
betweenRuns.randomizeSequence=2; % 'fixed sequence' |
| 16 |
|
| 17 |
stimulusParameters.stimulusDelay=0; |
| 18 |
|
| 19 |
stimulusParameters.targetType='tone'; |
| 20 |
stimulusParameters.targetPhase='sin'; |
| 21 |
stimulusParameters.targetFrequency=1000; |
| 22 |
stimulusParameters.targetDuration=0.5; |
| 23 |
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1); |
| 24 |
|
| 25 |
stimulusParameters.instructions{1}= ['Is the tone ''comfortable'', ''loud'' or ''uncomfortable''?'];
|
| 26 |
% single interval up/down with cue |
| 27 |
stimulusParameters.instructions{2}= [];
|
| 28 |
|