Le Ru, Eric Meyer, Matthias Darby, Brendan Tang, Chhayly Auguie, Baptiste simulPort.m Matlab/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. Integrating sphere;Ray tracing;Diffuse reflectance;Diffuse Reflectance Analysis 2018-02-22
    https://opticapublishing.figshare.com/articles/software/simulPort_m/5471770
10.6084/m9.figshare.5471770.v1