A number of figures in the text have been generated by QuickBasic. This Appendix provides the source code for them. There is some documentation via remarks in the earlier programs, but I felt it soon became redundant and stopped.
The first program listing calculates blackbody curves in four guises, although only two of them are in the text. The first (Fig. 4-6) is the spectral radiant emittance as a function of wavelength with the Wien distribution curve also shown. The second (Fig. 4-7) is the blackbody curve, but as a function of frequency, i.e., wave number. The next two are the logarithmic versions of these.
The second program is the radiation signal-to-noise ratio, the theoretical input for a photon-noise limited system (Fig. 8-1). It uses some of the same algorithms for obtaining the photon radiance and its temperature derivative.
The next is a plot of the Fresnel reflectance and transmittance curves for angles of incidence from 0 to 90 degrees, for a refractive index of 3.4 (silicon), and for no absorption. The values of real and imaginary parts of the index can be changed in the program once it is on your computer. This is Fig. 10-1.
Figure 10-2 shows the reflectance and transmittance values for a plate with multiple inter-reflections for a set of values of single-surface reflectances and internal transmittances.
Figure 10-3 is the same multiple-pass transmittance for a nonabsorbing sample for different values of refractive index from 1 to 6.
Online access to SPIE eBooks is limited to subscribing institutions.