How do I calculate mode overlap?

How do I calculate mode overlap?#

Date

Category

2023-12-19 19:11:53

Monitors

Very often we want to calculate the overlap integral of two modes to compute the coupling efficiency. This can be done conveniently using the outer_dot method such as


overlap = waveguide_mode_data_1.outer_dot(waveguide_mode_data_2)

where waveguide_mode_data_1 and waveguide_mode_data_2 are ModeSolverData objects from performing the mode solving.

For advanced monitor data manipulation such as integration, please refer to the tutorial.