diff options
author | Andy Mastbaum <mastbaum@hep.upenn.edu> | 2012-04-26 18:03:17 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-05-09 08:42:39 -0700 |
commit | bd763d61208f4f5e1a6ac3d48ad901eec2cb72e6 (patch) | |
tree | 79a73838523aebe29e6666937684d1d2c6e69e01 /doc | |
parent | 70bcf95d6bed3001256e5034b47c111f762d82c8 (diff) | |
download | chroma-bd763d61208f4f5e1a6ac3d48ad901eec2cb72e6.tar.gz chroma-bd763d61208f4f5e1a6ac3d48ad901eec2cb72e6.tar.bz2 chroma-bd763d61208f4f5e1a6ac3d48ad901eec2cb72e6.zip |
update docs per 2c200fc928a0
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/surface.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/source/surface.rst b/doc/source/surface.rst index 75f3a50..a9b61d1 100644 --- a/doc/source/surface.rst +++ b/doc/source/surface.rst @@ -51,17 +51,15 @@ Parameters:: ``SURFACE_WLS`` --------------- -A model of wavelength-shifting surfaces. Surfaces may absorb and reflect (these probabilities should sum to 1). Reflection is diffuse. If a photon is absorbed, it may be reemitted with a probability given in ``float *reemit`` (normalized to 1). The reemission spectrum CDF is defined in ``float* reemission_wavelength`` (x) and ``float* reemission_cdf`` (y), both of length ``reemission_n``. The CDF must start at 0 and end at 1. This model does not enforce conservation of energy, and cannot reemit multiple photons! +A model of wavelength-shifting surfaces. Surfaces may absorb and reflect (these probabilities should sum to 1). Reflection is diffuse. If a photon is absorbed, it may be reemitted with a probability given in ``float *reemit`` (normalized to 1). The reemission spectrum CDF is defined in ``float* reemission_cdf``. The CDF must start at 0 and end at 1. This model does not enforce conservation of energy, and cannot reemit multiple photons! Parameters:: float *absorb float *reflect float *reemit - float *reemission_wavelength float *reemission_cdf unsigned int n - unsigned int reemission_n float step float wavelength0 |