As promised in my EMC paper, the Electric field Monte Carlo code is provided below. This code traces the electric field instead of the Stokes vector traced in conventional Monte Carlo codes in simulation. Both incoherent and coherent properties of multiply scattered light can be simulated using EMC.

A brief introduction to EMC is given in README.txt included in the package. Please study the example deplength.cpp included in the package carefully. This simple example demonstrates the basic usage of EMC package. Two other examples are also given which were presented in the EMC paper.

You can download the EMC-0.5a package here. If you have problems running this program or bug reports, you are welcome to email me.