Question: pls help with the code as i dont get it % % % % % % % changes on this iteration % % % %
pls help with the code as i dont get it
changes on this iteration
now collecting Annulus Sizes and Luminance levels for all
constrast polarity conditions. IT will take long
startup
clear;
clc;
rng default set to default if legacy seed is active
rng shuffle every daym shufflin'
sca; in case there is anything in buffers and such
PsychDefaultSetup reset it
AssertOpenGL; add openGL since we reset it above
ScreenPreference 'SkipSyncTests', ;
if you have to set above to you'd be better off finding out why.
This is not a default PTB state, don't be casual about disabling the
vertical sync test. Try disabling any vertical sync algorithm in your
driver Nvidia instead. Sync is NOT important for this code, but for
smooth experience following participant inputs, it is recommended.
loadLGUltraGearNovmat'; LG color info file
parameters edit only here
flags
fFixationfalse; do we display a fixation cross
fCenterDiscsfalse; discs centered each half or apart by distanceDiscdg
fActualLuminancetrue; use exact luminance matched to RBG vs log steps they are so close
fAllowMaxValueForManipulationfalse; do I allow manipulated stimuli to match max or min luminance at extremes
fDiscNoMatchAnnulustrue; do we allow conditions where annulus and the fixed disc have the same luminance
fSolidDiscForVariablefalse; do we allow starter color Variable disc to be the same for solid true isn't coded at this iteration check
experiment parameters
subjectDistancemm; how far the person should sit
radiusDiscdg;
fixationdg; of one line
distanceDiscsdg; edge to edge discs
luminanceCount; how many steps are we gonna have interacts with logStep
logStep; the value where we iterate levels of contrast
radiusAnnulusdg; starting point of annulus radius portion beyond disc
annulusStepsdg; how much annulus gets bigger in each stair steps
annulusSizeCount; how many different sizes we can and should try
nTrialPerCondition; how many trials in a condition now interacts with variable disc brightness spread
discOffset; brightness levels offset of the variable disc starting values from mean
nBlock; conditions explained below
The annulus luminance is fixed on each trial but varies from trial to
trial over a range that is limited by the constraints of the condition
INCINC INCDEC DECINC DECDEC
INCx means dark background black but measurable
DECx means white background background is the highest luminance
among the background, disks and annulus
xINC means the disk is constrained to be higher RGB than the annulus.
xDEC means disk constrained to be lower RGB than the annulus.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
