Telling the Psi object that intensities of zero are impossible
Posted: Wed Feb 08, 2023 6:23 am
I'm running an experiment in which an intensity of zero is certainly impossible to perceive. I want to avoid a Psi object choosing to present several trials at zero, since I already know what the outcome of this will be (50% seen for a 2AFC task). Of course there is value in occasionally presenting 'catch trials', but I'm not sure there is a good reason to present so many trials at intensity == 0.
Is there some way to tell the Psi object (PAL_AMPM) that the psychometric function will have asymptoted at the guess rate at intensity == 0? One workaround I can think of would be to store 1000 'dummy trials' in the Psi object prior to beginning the experiment, but I wonder if this could cause problems? My code for this would be as follows:
Note that for the above code, I have already set stimRange so that the first entry is 0.
Is there some way to tell the Psi object (PAL_AMPM) that the psychometric function will have asymptoted at the guess rate at intensity == 0? One workaround I can think of would be to store 1000 'dummy trials' in the Psi object prior to beginning the experiment, but I wonder if this could cause problems? My code for this would be as follows:
Code: Select all
for i = 1:500
PM = PAL_AMPM_updatePM(PM,true,'xIndex',1); % correct response at intensity == 0
PM = PAL_AMPM_updatePM(PM,false,'xIndex',1); % incorrect response at intensity == 0
end