/usr/share/psychtoolbox-3/PsychOptics/WilliamsRestMTF.m is in psychtoolbox-3-common 3.0.11.20131230.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 | function mtf = WilliamsRestMTF(s)
% mtf = WilliamsRestMTF(s)
%
% Compute the portion of the MTF measured by
% Williams et. al. that is not accounted for
% by diffraction.
%
% 7/14/94 dhb Wrote it.
a = 0.1212;
w1 = 0.3481;
w2 = 0.6519;
mtf = w1*ones(size(s)) + w2*exp(-a*s);
|