Keywords: Beam-Propagation-Method, 2D, Scalar, Pade(1,1) Implementation of a simple Pade(1,1) Beam Propagation.
- After cloning the repository install the dependencies by running:
> pip install -r requierements.txt
- The simulation should be started by running:
> python Simulation_scode.py
- The first step is to create the simulation area. It is internally represented by an 2D array which stores the refractive indexes.
- Some constraints are defined: resolution (pixel per um) and simulation frequency
- The eigenvalue ( fundamental mode) of the waveguide at the input plane is calculated
- The magnitude at the input plane is plotted.
- The meshed simulation area is plotted.
- The beam propagation method is executed, this may take some seconds. The script will output a alive message by printing out:
-----> running
- The simulated magnitude distribution is plotted.
- The magnitude distribution at the output plane is plotted.
The simulation is not energy preserving due to inaccuracy, rounding and edge effects.