
Welcome to the course! In this first lesson, I’ll briefly introduce myself and walk you through the main topics we’ll cover, so you know exactly what to expect and what materials will be available as you progress.
In this brief lecture we'll cover the requirements for following the course.
You should be familiar with what photonic integrated circuits (PICs) are, have a basic understanding (without needing the detailed mathematics) of light as an electromagnetic wave governed by Maxwell’s equations and feel comfortable with fundamental Python programming concepts such as variables, functions, and loops.
In this lecture, I’ll show you how to install Meep in a Google Colab environment.
I’ll also give you a brief hint on how to install Meep in other environments: create a dedicated Conda environment, look up the shared Meep packages, download them, and install everything in the correct order.
In this first video of the chapter, I’ll guide you step by step through creating the geometry and defining the materials needed for our first waveguide simulation. We’ll also set up a Meep source and explore key Meep variables—such as Vector3 and Medium—to understand how they shape the simulation.
In this chapter, we’ll turn Meep simulation results into animations, visualizing the electromagnetic fields evolution over time.
In this chapter I’ll introduce a useful function that you can reuse for future simulations and we’ll examine the results of our waveguide simulation.
In this chapter, we explore the electromagnetic modes of a waveguide — the natural field distributions supported by the structure. You’ll learn how to excite a specific mode at the input of a Meep simulation and how higher‑order modes differ in shape and behavior.
In this chapter, we discovered that the field pattern we initially interpreted as the first‑order TE mode was actually the fundamental TM mode. We also explored how to visualize different components of the simulated electromagnetic field to correctly identify mode families and their characteristics.
In this chapter, we conclude our exploration of waveguide modes by visualizing all the field components associated with the different modes we’ve discussed.
In the first video of this section, we’ll simulate a waveguide using multiple input sources. This lets us explore additional Meep features while revealing how mode decomposition and field interference work in practice, setting the stage for everything that follows.
In this chapter we'll combine the fundamental and second order mode with a particular amplitude to recreate a field distribution that resemble the initial simulation one, leavinig the question "how these amplitude coefficient were found"
In this chapter, we introduce sim.get_eigenmode, a tool that lets us inspect the modal content inside any volume of the simulation. By doing so, we move one step closer to understanding how the decomposition amplitudes are obtained.
In this chapter, we’ll use the visualize_mode function developed in the previous lesson to inspect the TE‑mode cross‑section. This brings us a step closer to understand how different modal components can be combined to shape a target field profile.
In this chapter we explore how the concept of similarity — or overlap — works mathematically, how to compute it in Meep, and finally where the mode amplitude used in the initial simulation actually comes from.
In the first video of this section, we simulate the interface formed when two waveguides with different geometrical widths meet.
In this chapter, we use Meep monitors at both the input and the output of the simulation to measure how much power is transmitted, reflected, and lost at the interface.
In this chapter, we’re going to analyze the mode decomposition of the light after the interface, to highlight an important concept: transmitted light does not necessarily remain in the same mode.
In this chapter, we’ll build the geometry needed to simulate a taper using Meep’s Prism function, and then we'lluse this new structure to qualitatively observe the improvement in trasmission power.
In this chapter, we’ll explore a more theoretical topic: how to use the polygon_to_materialgrid custom function to improve the accuracy of Meep simulations.
In this chapter, we’ll calculate the transmission and reflection coefficients of the linear taper using Meep’s monitors. We’ll repeat this for different taper lengths to identify the design with the best performance.
In this chapter, we’ll introduce other taper types you can use, such as the parabolic, exponential, and trident taper. We’ll focus on the parabolic taper, show how to replicate it in Meep, and summarize the results of the section.
In the first video of this section, we simulate light propagating in two parallel waveguides and observe what happens as they are brought closer and closer.
In this chapter, we’ll build the full directional‑coupler geometry, starting from a single S‑bend and then adding all the remaining building blocks. It’s a fairly complex construction, but it will show you how to reason when creating structures in Meep. If you’re not interested in these details, feel free to skip to the next video
In this chapter, we’ll focus on the theory behind directional couplers: how light transfers from one waveguide to another, what bar and cross states are, and how the geometry of the building block determines which state you obtain.
In this chapter, we’ll explore how to simulate multiple frequencies simultaneously in Meep to understand the behaviour of the Wavelength Division Multiplexing (WDM) building block.
In this chapter, we'll discuss the result of the WDM simulation created in the previous lecture
In this chapter I'll present the objective of this section: design a 90‑degree circular bend that transmits at least 99% of the input power while occupying the smallest possible footprint. You can attempt the challenge independently or follow the rest of the chapter to see one way to achieve it.
In this chapter, we’ll step into the role of researchers: we’ll formulate hypotheses about how the bend radius affects transmission, and then run an experiment in Meep to verify the actual behavior.
In this chapter, we’ll explore a different strategy to optimize the transmission performance of a circular bend: shifting the input and output straight sections by a certain amount so that the maxima of the straight waveguide mode and the ring mode align.
In this chapter, we revisit our earlier results to understand how the simulation resolution shapes the outcome.
In this final chapter, we move from 2D to 3D simulations by updating the geometry, adjusting the initialization parameters, and learning how to visualize full 3D field data.
Are you ready to move beyond photonic theory and learn how to actually simulate photonic components?
In this hands-on course, you’ll learn how to use Meep, a powerful open-source electromagnetic simulation tool, together with Python to model, visualize, analyze, and optimize photonic structures. Starting from a simple waveguide, you’ll progressively build the skills needed to investigate increasingly sophisticated Photonic Integrated Circuit (PIC) building blocks.
Guided by Mattia Conti, a photonic engineer with industry experience, you’ll learn how to create simulation geometries, define materials and sources, visualize electromagnetic fields, excite specific waveguide modes, and extract meaningful information from your simulations.
As the course progresses, you’ll apply these techniques to realistic photonic components, including:
Waveguides
Modal decomposition and mode overlap
Waveguide interfaces, transmission, and reflection
Linear, parabolic, and exponential tapers
Directional couplers
Wavelength‑division multiplexing (WDM)
90° waveguide bends
Building‑block optimization through geometric parameter sweeps
Simulation resolution and numerical accuracy
Monte Carlo analysis for robust designs
Transitioning from 2D to 3D electromagnetic simulations
This course is designed around learning by doing. Rather than simply explaining what each Meep function does, you’ll use simulations to investigate real photonic phenomena, formulate hypotheses, analyze results, and make design decisions.
You’ll also work through practical assignments and paper-study exercises that challenge you to modify geometries, identify modes, optimize photonic components, and reproduce concepts from published research.
By the end of the course, you’ll have a practical understanding of how to use Meep to simulate and analyze photonic components, interpret electromagnetic fields and modal behavior, measure transmission and reflection, and systematically optimize your designs.
Whether you’re a photonics student looking to develop practical simulation skills, a researcher exploring open-source electromagnetic simulation, or an engineer who wants to add Meep to your photonic design toolkit, this course will give you a structured path from your first simulation to more advanced photonic component analysis.