Revision 30:1a502830d462 multithreshold 1.46/paradigms
| multithreshold 1.46/paradigms/paradigm_GOM.m | ||
|---|---|---|
| 16 | 16 |
betweenRuns.variableList1=25: 5: 70; |
| 17 | 17 |
betweenRuns.variableName2='maskerRelativeFrequency'; |
| 18 | 18 |
betweenRuns.variableList2=[1 0.5]; |
| 19 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 20 | 19 |
|
| 20 |
experiment.maskerInUse=1; |
|
| 21 | 21 |
stimulusParameters.maskerType='tone'; |
| 22 | 22 |
stimulusParameters.maskerPhase='sin'; |
| 23 | 23 |
stimulusParameters.maskerDuration=0.104; |
| multithreshold 1.46/paradigms/paradigm_IFMC.m | ||
|---|---|---|
| 16 | 16 |
betweenRuns.variableName2='targetFrequency'; |
| 17 | 17 |
% keep old list of target frequencies |
| 18 | 18 |
betweenRuns.variableList2=str2num(get(handles.edittargetFrequency,'string')); |
| 19 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 20 | 19 |
|
| 20 |
experiment.maskerInUse=1; |
|
| 21 |
stimulusParameters.maskerType='tone'; |
|
| 22 |
stimulusParameters.maskerPhase='sin'; |
|
| 21 | 23 |
stimulusParameters.maskerDuration=0.108; |
| 22 | 24 |
stimulusParameters.maskerLevel=stimulusParameters.WRVstartValues(1); |
| 23 | 25 |
stimulusParameters.maskerRelativeFrequency=betweenRuns.variableList1; |
| multithreshold 1.46/paradigms/paradigm_SRT.m | ||
|---|---|---|
| 28 | 28 |
betweenRuns.variableList1=1000; |
| 29 | 29 |
betweenRuns.variableName2='maskerDuration'; |
| 30 | 30 |
betweenRuns.variableList2=0.1 ; |
| 31 |
% 1='fixed sequence', 2='randomize within blocks', 3='randomize across |
|
| 32 |
% blocks' |
|
| 33 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 34 | 31 |
|
| 35 | 32 |
% delay > masker > gap > target |
| 36 |
|
|
| 37 | 33 |
stimulusParameters.stimulusDelay=0.3; |
| 38 | 34 |
|
| 39 | 35 |
% maskerTypes={'tone','noise', 'pinkNoise','TEN','whiteNoise'};
|
| 40 |
stimulusParameters.maskerType='tone'; |
|
| 41 |
stimulusParameters.maskerPhase='sin'; |
|
| 42 |
stimulusParameters.maskerDuration=0.0; |
|
| 43 |
stimulusParameters.maskerLevel= -50; |
|
| 44 |
stimulusParameters.maskerRelativeFrequency= 1 ; % not used |
|
| 36 |
experiment.maskerInUse=0; |
|
| 45 | 37 |
|
| 46 | 38 |
stimulusParameters.gapDuration=0.0; |
| 47 | 39 |
|
| multithreshold 1.46/paradigms/paradigm_TENtest.m | ||
|---|---|---|
| 12 | 12 |
betweenRuns.variableList1=[250 500 1000 2000 4000 8000 ]; |
| 13 | 13 |
betweenRuns.variableName2='targetDuration'; |
| 14 | 14 |
betweenRuns.variableList2= 0.25; |
| 15 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 15 |
|
|
| 16 |
experiment.maskerInUse=0; |
|
| 16 | 17 |
|
| 17 | 18 |
stimulusParameters.targetType='tone'; |
| 18 | 19 |
stimulusParameters.targetPhase='sin'; |
| multithreshold 1.46/paradigms/paradigm_TMC.m | ||
|---|---|---|
| 17 | 17 |
betweenRuns.variableName2='targetFrequency'; |
| 18 | 18 |
% retain existing targetFrequencies |
| 19 | 19 |
betweenRuns.variableList2=str2num(get(handles.edittargetFrequency,'string')); |
| 20 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 21 | 20 |
|
| 21 |
experiment.maskerInUse=1; |
|
| 22 | 22 |
stimulusParameters.maskerType='tone'; |
| 23 | 23 |
stimulusParameters.maskerPhase='sin'; |
| 24 | 24 |
stimulusParameters.maskerDuration=0.108; |
| multithreshold 1.46/paradigms/paradigm_absThreshold.m | ||
|---|---|---|
| 8 | 8 |
betweenRuns.variableName2='targetDuration'; |
| 9 | 9 |
betweenRuns.variableList2= 0.25; |
| 10 | 10 |
|
| 11 |
experiment.maskerInUse=0; |
|
| 12 |
|
|
| 11 | 13 |
stimulusParameters.targetFrequency=betweenRuns.variableList1; |
| 12 | 14 |
stimulusParameters.targetDuration=betweenRuns.variableList2; |
| 13 | 15 |
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1); |
| multithreshold 1.46/paradigms/paradigm_absThreshold_16.m | ||
|---|---|---|
| 8 | 8 |
betweenRuns.variableList1=str2num(get(handles.edittargetFrequency,'string')); |
| 9 | 9 |
betweenRuns.variableName2='targetDuration'; |
| 10 | 10 |
betweenRuns.variableList2=0.016; |
| 11 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 12 | 11 |
|
| 13 |
% delay > masker > gap > target |
|
| 14 |
|
|
| 12 |
experiment.maskerInUse=0; |
|
| 15 | 13 |
|
| 16 | 14 |
stimulusParameters.targetType='tone'; |
| 17 | 15 |
stimulusParameters.targetPhase='sin'; |
| multithreshold 1.46/paradigms/paradigm_discomfort.m | ||
|---|---|---|
| 12 | 12 |
betweenRuns.variableList1=[1000]; |
| 13 | 13 |
betweenRuns.variableName2='targetDuration'; |
| 14 | 14 |
betweenRuns.variableList2=0.5 ; |
| 15 |
betweenRuns.randomizeSequence=2; % 'fixed sequence' |
|
| 15 |
% 'randomize within blocks', 'fixed sequence', 'randomize across blocks' |
|
| 16 |
betweenRuns.randomizeSequence='fixed sequence'; |
|
| 16 | 17 |
|
| 17 | 18 |
stimulusParameters.stimulusDelay=0; |
| 18 | 19 |
|
| 20 |
experiment.maskerInUse=0; |
|
| 21 |
|
|
| 19 | 22 |
stimulusParameters.targetType='tone'; |
| 20 | 23 |
stimulusParameters.targetPhase='sin'; |
| 21 | 24 |
stimulusParameters.targetFrequency=1000; |
| multithreshold 1.46/paradigms/paradigm_forwardMasking.m | ||
|---|---|---|
| 11 | 11 |
betweenRuns.variableName1='gapDuration'; |
| 12 | 12 |
betweenRuns.variableList1=[.005 0.01 0.02 0.04]; |
| 13 | 13 |
betweenRuns.variableName2='maskerLevel'; |
| 14 |
betweenRuns.variableList2=[20 40 60 80]; |
|
| 15 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 14 |
betweenRuns.variableList2=[80 60 40 20]; |
|
| 16 | 15 |
|
| 16 |
experiment.maskerInUse=1; |
|
| 17 | 17 |
stimulusParameters.maskerType='tone'; |
| 18 |
stimulusParameters.maskerPhase='sin';
|
|
| 18 |
stimulusParameters.maskerPhase='cos';
|
|
| 19 | 19 |
stimulusParameters.maskerDuration=0.108; |
| 20 |
stimulusParameters.maskerLevel=betweenRuns.variableList2;
|
|
| 20 |
stimulusParameters.maskerLevel=20;
|
|
| 21 | 21 |
stimulusParameters.maskerRelativeFrequency=1; |
| 22 | 22 |
|
| 23 | 23 |
stimulusParameters.gapDuration=betweenRuns.variableList1; |
| multithreshold 1.46/paradigms/paradigm_overShoot.m | ||
|---|---|---|
| 1 | 1 |
function paradigm_overShoot(handles) |
| 2 |
global stimulusParameters betweenRuns |
|
| 2 |
global stimulusParameters betweenRuns experiment
|
|
| 3 | 3 |
|
| 4 | 4 |
paradigm_training(handles) % default |
| 5 | 5 |
|
| ... | ... | |
| 14 | 14 |
% betweenRuns.variableList1=[-.350 -.238 -.213 -.180 -.160 -.100 -.040 -.020 0 .010 .040 .140]; |
| 15 | 15 |
betweenRuns.variableName2='maskerLevel'; |
| 16 | 16 |
betweenRuns.variableList2=50; |
| 17 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 18 | 17 |
|
| 19 | 18 |
% delay > masker > gap > target |
| 20 | 19 |
stimulusParameters.stimulusDelay=0.3; |
| 21 | 20 |
|
| 21 |
experiment.maskerInUse=1; |
|
| 22 | 22 |
stimulusParameters.maskerType='tone'; |
| 23 | 23 |
stimulusParameters.maskerPhase='sin'; |
| 24 | 24 |
stimulusParameters.maskerDuration=0.4; |
| multithreshold 1.46/paradigms/paradigm_profile.m | ||
|---|---|---|
| 7 | 7 |
betweenRuns.variableList1=[250 500 1000 2000 4000 8000 ]; |
| 8 | 8 |
betweenRuns.variableName2='targetDuration'; |
| 9 | 9 |
betweenRuns.variableList2=0.016; |
| 10 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 11 |
|
|
| 12 |
% delay > masker > gap > target |
|
| 13 |
|
|
| 14 | 10 |
|
| 15 | 11 |
stimulusParameters.targetType='tone'; |
| 16 | 12 |
stimulusParameters.targetPhase='sin'; |
| multithreshold 1.46/paradigms/paradigm_psychometric.m | ||
|---|---|---|
| 15 | 15 |
betweenRuns.variableList1=1000.01:0.01:1000.05; |
| 16 | 16 |
betweenRuns.variableName2='targetDuration'; |
| 17 | 17 |
betweenRuns.variableList2=0.1 ; |
| 18 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 18 |
|
|
| 19 |
experiment.maskerInUse=0; |
|
| 19 | 20 |
|
| 20 | 21 |
stimulusParameters.targetType='tone'; |
| 21 | 22 |
stimulusParameters.targetPhase='sin'; |
| multithreshold 1.46/paradigms/paradigm_threshold_duration.m | ||
|---|---|---|
| 12 | 12 |
betweenRuns.variableList1=[ .016 .032 .064 .128 .256 .512]; |
| 13 | 13 |
betweenRuns.variableName2='targetFrequency'; |
| 14 | 14 |
betweenRuns.variableList2=1000; |
| 15 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 15 |
|
|
| 16 |
experiment.maskerInUse=0; |
|
| 16 | 17 |
|
| 17 | 18 |
stimulusParameters.targetType='tone'; |
| 18 | 19 |
stimulusParameters.targetPhase='sin'; |
| multithreshold 1.46/paradigms/paradigm_training.m | ||
|---|---|---|
| 30 | 30 |
betweenRuns.variableList1=1000; |
| 31 | 31 |
betweenRuns.variableName2='targetDuration'; |
| 32 | 32 |
betweenRuns.variableList2=0.1 ; |
| 33 |
% 1='fixed sequence', 2='randomize within blocks', 3='randomize across |
|
| 34 |
% blocks' |
|
| 35 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 33 |
% 'randomize within blocks', 'fixed sequence', 'randomize across blocks' |
|
| 34 |
betweenRuns.randomizeSequence='randomize within blocks'; |
|
| 36 | 35 |
|
| 37 | 36 |
% delay > masker > gap > target |
| 38 | 37 |
|
| 39 | 38 |
stimulusParameters.stimulusDelay=0.3; |
| 40 | 39 |
|
| 41 | 40 |
% maskerTypes={'tone','noise', 'pinkNoise','TEN','whiteNoise'};
|
| 41 |
experiment.maskerInUse=0; |
|
| 42 | 42 |
stimulusParameters.maskerType='tone'; |
| 43 |
stimulusParameters.maskerPhase='sin';
|
|
| 43 |
stimulusParameters.maskerPhase='cos';
|
|
| 44 | 44 |
stimulusParameters.maskerDuration=0.0; |
| 45 | 45 |
stimulusParameters.maskerLevel= -50; |
| 46 |
stimulusParameters.maskerRelativeFrequency= 1 ; % not used
|
|
| 46 |
stimulusParameters.maskerRelativeFrequency= 1 ; |
|
| 47 | 47 |
|
| 48 | 48 |
stimulusParameters.gapDuration=0.0; |
| 49 | 49 |
|
| 50 | 50 |
% targetTypes={'tone','noise', 'pinkNoise','whiteNoise','OHIO'};
|
| 51 | 51 |
stimulusParameters.targetType='tone'; |
| 52 |
stimulusParameters.targetPhase='sin';
|
|
| 52 |
stimulusParameters.targetPhase='cos'; %{'sin','cos','alt','rand'}
|
|
| 53 | 53 |
stimulusParameters.targetFrequency=1000; |
| 54 | 54 |
stimulusParameters.targetDuration=0.1; |
| 55 | 55 |
stimulusParameters.targetLevel=stimulusParameters.WRVstartValues(1); |
| multithreshold 1.46/paradigms/paradigm_trainingIFMC.m | ||
|---|---|---|
| 17 | 17 |
betweenRuns.variableName2='targetFrequency'; |
| 18 | 18 |
% keep old list of target frequencies |
| 19 | 19 |
betweenRuns.variableList2=str2num(get(handles.edittargetFrequency,'string')); |
| 20 |
betweenRuns.randomizeSequence=1; % 'random sequence' |
|
| 21 | 20 |
|
| 21 |
experiment.maskerInUse=1; |
|
| 22 | 22 |
stimulusParameters.maskerType='tone'; |
| 23 | 23 |
stimulusParameters.maskerPhase='sin'; |
| 24 | 24 |
stimulusParameters.maskerDuration=0.108; |
Also available in: Unified diff