File: WestPSFMinutes.m

package info (click to toggle)
psychtoolbox-3 3.0.15.20190207.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 101,848 kB
  • sloc: ansic: 174,133; cpp: 11,232; objc: 4,832; sh: 1,874; python: 1,047; php: 384; makefile: 189; java: 113
file content (21 lines) | stat: -rwxr-xr-x 772 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function psf = WestPSFMinutes(radius)
%WESTPSFMINUTES  Compute Westheimer estimate of human PSF
%   psf = WestPSFMinutes(radius)
%
%   Compute Westheimer's PSF function as a function
%   of passed radius.  Radius passed in minutes of arc.
%
%   Formula from Westheimer G. 1986. The eye as an optical instrument.  In
%   Handbook of perception and human performance, KR Boff, L Kaufman,
%   JP Thomas (eds). New York: Wiley.  Equation 7.
%
%   This is only approximately consistent with Westheimer's LSF estimate.
%
%   This comes back normalized to a maximum of 1.
%
%   See also WestLSFMinutes, DavilaGeislerPSFMinutes, LsfToPsf, PsfToLsf

% 7/11/94		dhb		Added comments, changed name.

psf = 0.952*exp(-2.59*(radius.^1.36)) + ...
       0.048*exp(-2.43*(radius.^1.74));