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.

Usage

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 iadpython.readthedocs.com

Installation

First install the iad library

git clone https://github.com/scottprahl/iad.git

cd iad make install-lib

Then install this python module using pip

pip install iadpython

Alternatively you can install from github

git clone https://github.com/scottprahl/iadpython.git

Test by changing the iadpython directory and doing

nosetests iadpython/test_iadpython.py

Then, add the iadpython directory to your PYTHONPATH or somehow

Dependencies

For installation: setuptools

Required Python modules: numpy, matplotlib, cytpes

License

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.

Source Distribution

iadpython-0.3.0.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file iadpython-0.3.0.tar.gz.

File metadata

  • Download URL: iadpython-0.3.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0.post20200513 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for iadpython-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7319e51057a2a8bd5373793ef19082beac7d3c3a1de9bf19aa804209f4f3a2d9
MD5 8295537d4845263396e06f98f0ae9b3b
BLAKE2b-256 042e8df4077998ade8ffe5ccd1c8539d758186835609b82517f9d9964f993c57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page