function modelParConversion(c,d)
%% convert to bayes & husain 
% Dynamic Shifts of Limited Working Memory Resources in Human Vision (2008)
prec3Obj=0.5; %(deg)^-1 precision for 3 object according to paper figure (2).
visAngle=10; %deg distance from fixation used for stimuli in paper;
dis=1.75; %distance to fixation our task (m)

vAngleM=visAngle2m(dis, visAngle); %convert to metres
stdMet= stdPos(vAngleM,c);         %compute std
stdVis= m2visAngle(dis, stdMet);   %convert std to vis angle
prec=1/stdVis;                     %compute precision
disp(['precision is frontoparralel from Bayes & Husain (2008)', num2str(prec3Obj), ' (deg)^-1'])
disp(['precision is frontoparralel from our model is ', num2str(prec), ' (deg)^-1'])

%% compare depth with wardle paper 
% Stereoacuity in the periphery is limited by internal noise (2012)
i=0.03; % half interocular distance
% internal noise estimates from figure (3)
wardDat=[0.29 0.61 1.47 2.1;...
         0.58 0.86 0.97 1.57;...
         0.65 0.81 1.01 5.58]./60; %uncertainty deg ocular
ecc= [0 3 6 9]; %eccentricity tested

a=atan(dis/i);
sigWard=i*tan(a+degtorad(wardDat))-dis; %converted from deg ocular to m

y=0; %assume y is zero (not tested in their experiment)
z=0; %stimuli at fixation
x=visAngle2m(dis, ecc);
stdMetres= stdPosDep(x,y,z,d);

disp('std in depth (m) from Wardle et al 2012')
disp(sigWard)
disp('std in depth (m) from our model is ')
disp(stdMetres)
