ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cal/cal/trans2.cal
Revision: 1.2
Committed: Wed Nov 21 18:10:45 2018 UTC (5 years, 5 months ago) by greg
Branch: MAIN
CVS Tags: rad5R4, rad5R3, HEAD
Changes since 1.1: +1 -0 lines
Log Message:
Added missing RCSid tag

File Contents

# Content
1 { RCSid $Id$ }
2 {
3 These formulas compute the index of refraction and
4 normal transmission for a pane of glass given the
5 measured normal transmittance and reflectance values,
6 Tn and Rn, respectively.
7
8 These formulas are approximate -- the exact solution
9 involves a quartic equation and seemed more trouble
10 than it was worth. If you know the index of refraction,
11 you are better off with the formula in trans.cal.
12
13 Oct. 2002 Greg Ward
14 }
15 { formula for normal transmission }
16 tn = Tn / (1 - Rn);
17 F = Rn / (1 + tn*tn);
18 n = (1 + sqrt(F)) / (1 - sqrt(F));