/usr/share/psychtoolbox-3/PsychGamma/InitialXSig.m is in psychtoolbox-3-common 3.0.14.20170103+git6-g605ff5c.dfsg1-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | function x = InitialXSig(xp)
% x = InitialXSig(xp)
%
% Initial values for sigmoid function fit.
%
% If argument is passed, it is assumed to be
% a best guess from some source for the first
% two arguments. Roughly these should be the
% input value for half maximum output and the
% value of maximum output.
x = [1 1 1]';
if (nargin == 1)
x(1) = xp;
end
|