diff options
Diffstat (limited to 'src/optics.c')
-rw-r--r-- | src/optics.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/optics.c b/src/optics.c index 5f01089..b1f2910 100644 --- a/src/optics.c +++ b/src/optics.c @@ -15,14 +15,12 @@ /* Absorption coefficients for H2O and D2O as a function of wavelength from * SNOMAN. * - * Note: These numbers come from prod/media.dat. - * - * FIXME: Should I be using the values from media_2_09.dat or media_qoca_*.cmd? */ -static double absorption_coefficient_h2o_wavelengths[7] = {250.0, 350.0, 400.0, 450.0, 500.0, 548.0, 578.0}; -static double absorption_coefficient_h2o[7] = {1e-5, 1e-5, 1.3e-5, 6.0e-5, 2.0e-4, 5.8e-4, 9.2e-4}; + * Note: These numbers come from mcprod/media_qoca_d2o-2_20040123.cmd. */ +static double absorption_coefficient_h2o_wavelengths[6] = {337.0, 365.0, 386.0, 420.0, 500.0, 620.0}; +static double absorption_coefficient_h2o[6] = {5.610e-02, 2.279e-02, 1.204e-02, 7.587e-03, 7.036e-03, 7.068e-03}; -static double absorption_coefficient_d2o_wavelengths[7] = {254.0, 313.0, 366.0, 406.0, 436.0, 548.0, 578.0}; -static double absorption_coefficient_d2o[7] = {1e-5, 1e-5, 1e-5, 1e-5, 1e-5, 1e-5, 1e-5}; +static double absorption_coefficient_d2o_wavelengths[6] = {337.0, 365.0, 386.0, 420.0, 500.0, 620.0}; +static double absorption_coefficient_d2o[6] = {6.057e-05, 5.270e-05, 5.127e-05, 4.318e-05, 3.616e-05, 4.746e-05}; /* From prod/media.dat for Acrylic (good). */ static double absorption_coefficient_acrylic_wavelengths[10] = {300.0, 310.0, 320.0, 330.0, 340.0, 350.0, 360.0, 380.0, 400.0, 450.0}; |