This file is indexed.

/usr/share/psychtoolbox-3/PsychRadiometric/RetIrradianceAndPupilAreaEyeLengthToRadiance.m is in psychtoolbox-3-common 3.0.11.20140816.dfsg1-1.

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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
function radiance_PowerPerAreaSr = RetIrradianceAndPupilAreaEyeLengthToRadiance(irradiance_PowerPerArea,irradianceS,pupilArea,eyeLength)
% radiance_PowerPerAreaSr = RetIrradianceAndPupilAreaEyeLengthToRadiance(irradiance_PowerPerArea,irradianceS,pupilArea,eyeLength)
%
% Perform the geometric calculations necessary to convert a measurement of retinal
% irradiance to the source radiance that would produce it.
%
% Perform the geometric calculations necessary to convert a measurement of source
% radiance to corresponding retinal irradiance. 
%
% Let x be the units of distance (m, cm, mm, um, etc.)
%
%   Input irradiance_PowerPerArea is in units of power/x^2-wlinterval.
%   Input irradianceS gives the wavelength sampling information.
%   Input pupilArea should be in units of x^2.
%   Input eyeLength should be the length of the eye in x.
%
%   Output radiance_PowerPerAreaSr is in units of power/x^2-sr-wlinterval.
%
%   Light power may be expressed in watts or quanta-sec or in your
%   favorite units.  Indeed, it may also be passed as energy rather
%   than power.  
%
% This conversion does not take absorption in the eye into account,
% as this is more conveniently foldeded into the spectral absorptance.
%
% See also: PsychRadiometric, RadianceAndPupilAreaEyeLengthToRetIrradiance, PupilAreaFromLum, EyeLength.
%
% 3/6/13  dhb  Wrote it.


% Define factor to convert radiance spectrum to retinal irradiance
% and apply this in the opposite direction.  See
% RadianceAndPupilAreaEyeLengthToRetIrradiance for the
% conversion logic.
conversionFactor = pupilArea/(eyeLength^2);
radiance_PowerPerAreaSr = irradiance_PowerPerArea/conversionFactor;