simulPort.m (4.6 kB)
simulPort.m
software
posted on 2018-02-22, 22:07 authored by Eric Le Ru, Matthias Meyer, Brendan Darby, Chhayly Tang, Baptiste AuguieMatlab/Octave script for calculating port reflectivity and transmittivity in an integrating sphere. Note that this code has been simplified for readability and can therefore be readily translated to other programming languages but, as a result, is not optimized for speed. See also http://nano-optics.github.io/apps/sphere for tabulated values.