Mathematica Diffusion Simulation: Programmed by Coburn, Caleb. Simulation of diffusion in organic heterostructures, including least square fits and statistical goodness of fit analysis. Used to calculate fits to transient data in Fig 1, 3 and Extended Data Fig.2. Example data file included for download
Matlab Montecarlo simulation: Programmed by Coburn, Caleb. Montecarlo simulation of charge diffusion on a cubic lattice to determine lateral diffusion length as a function of barrier height, assuming thermionic emission over the barrier.
Matlab 2D Diffusion Simulation:Programmed by Coburn, Caleb. Modified from BYU Physics 430 Course Manual. Simulates diffusion around a film discontinuity, such a cut. Used to generate fits to Extended Data Fig. 1