iggisv9t / Incoherent-Light-Simulation

A simulator of propagation of incoherent light .

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incoherent-Light-Simulation

This simulator works computing the field created by point sources with random phases and randomly placed inside a circle.

Time averaging is done using Monte Carlo integration.

Then, the simulation is represented and animated with matplotlib.

Check my youtube video for further explanation: https://www.youtube.com/watch?v=ySte6NRuA-k&list=PLYkZehxPE_IhJDMTJUob1ZbxWhL8AjHDi&index=1

Installation

Just clone or download this repo. The package requeriments are:

  1. numpy
  2. matplotlib
  3. progressbar

Simulations

To perform the simulations, just run from the command prompt the corresponding Python scripts:

python simulation_femtoseconds.py

animation

python simulation_picoseconds.py

animation

python simulation_microseconds.py

animation

Also take a look at the simulations of the double slit experiment with incoherent and coherent light

About

A simulator of propagation of incoherent light .

License:MIT License


Languages

Language:Python 100.0%