This repository contains the simulation files mentioned in the article "Partially Coherent Beam: Theory and Simulation". The codes are designed to be executed directly on Google Colab, providing an easy and interactive experience.
-
codigo_1.ipynb: This notebook provides a simplified step-by-step guide on how to generate and visualize the intensity of a light beam.
-
codigo_2.ipynb: In this notebook, we generate a Gaussian Schell Model (GSM) beam using coherent mode decomposition. We compare the simulation intensity with the theoretical and determine the ideal truncation value for decomposition.
-
codigo_3.ipynb: We use the GSM beam to determine the normalized cross-spectral density.
-
codigo_4.ipynb: In this notebook, we apply the GSM beam to a double slit and check the beam's degree of coherence.
-
codigo_5.ipynb: In code 5, we obtain the intensity of the GSM beam with the decomposition in pseudomodes.
-
codigo_6.ipynb: In code 6, we determine the number of modes in the coherent and incoherent sum used in the decomposition in pseudomodes.
-
codigo_7.ipynb: In code 7, we use the generated GSM beam to perform the double slit experiment and determine visibility.
**The notebooks can be executed directly on Google Colab. Just follow the links above :v
Feel free to contribute or make suggestions. If you encounter any issues with the codes or have ideas for improvements, open an "issue" or submit a "pull request".
For any questions or clarifications, contact:
- Gubio: [email protected]
We appreciate your collaboration!