This file is indexed.

/usr/share/radiance/vl.cal is in radiance-materials 4R1+20120125-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
{
	Calculate VL (visibility level)

	5/26/94

	Taken from Bailey, Clear, Berman paper, JIES Summer 1993
}

{ User must set:

	L	Adaptation luminance in cd/m^2
	dL	Difference in luminance between background and foreground
	S	Target size in minutes of arc
	
  Function computes:

	dLt	Visible luminance threshold
	Sr	Size below which Ricco's law applies
	VL	Visibility level
}

sq(x) : x*x;

fit(a1,a2,n) = a1 * (L^(1/n) + a2)^(n/2);

A = fit(.40743,1.6074,2.8723);
B = fit(.0840155,.43369,1.7188);

Sr = (4 + 2*L)/(1 + L);

dLt = if(Sr-S, sq(A/S), sq((B*(S-Sr)+A)/S));

VL = dL / dLt;