Skip to main content

'Forward and inverse radiative transport using adding-doubling'

Project description

iadpython is a Python module to calculate multiple light scattering (radiative transport) of layered materials. This is a python interface to the inverse adding-doubling package written in C by Scott Prahl. This allows users to extract the intrinisic optical properties of materials from measurements of total reflected and total transmitted light.

The original adding-doubling was developed by van de Hulst to model light propagation through layered media. It was extended to handle Fresnel reflection at boundaries as well as interactions with integrating spheres. Finally, the code was further extended to handle lost light by including Monte Carlo techniques.


import iadpython as iad

albedo = 0.8 anisotropy = 0.9 optical_thickness = 2.0

UR1, UT1 = iad.

For examples and use cases, see the docs folder on github or view


First install the iad library

git clone

cd iad make install-lib

Then install this python module using pip

pip install iadpython

Alternatively you can install from github

git clone

Test by changing the iadpython directory and doing

nosetests iadpython/

Then, add the iadpython directory to your PYTHONPATH or somehow


For installation: setuptools

Required Python modules: numpy, matplotlib, cytpes


iadpython is licensed under the terms of the MIT license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for iadpython, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size iadpython-0.3.0.tar.gz (11.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page