/usr/share/radiance/trans2.cal is in radiance-materials 4R1+20120125-1.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 | {
These formulas compute the index of refraction and
normal transmission for a pane of glass given the
measured normal transmittance and reflectance values,
Tn and Rn, respectively.
These formulas are approximate -- the exact solution
involves a quartic equation and seemed more trouble
than it was worth. If you know the index of refraction,
you are better off with the formula in trans.cal.
Oct. 2002 Greg Ward
}
{ formula for normal transmission }
tn = Tn / (1 - Rn);
F = Rn / (1 + tn*tn);
n = (1 + sqrt(F)) / (1 - sqrt(F));
|