Download the modes
Click on modes.npz
to download the results as a numpy file
or click modes.mat
to download as a Matlab file.
To retrieve the data in Python:
import numpy as np
data = np.load('modes.npz')
n_modes = data['n_modes']
n_points = data ['n_points']
# matrix of mode profiles
mode_profiles = data['profiles']
# propagation constants
betas = data['betas']
# Profile of the i-th mode
i = 5
field = mode_profiles[...,i].reshape([n_points]*2)
How is it computed?
Check our tutorials to know more: - Simulation of multimode fiber modes: Straight fibers - Simulation of multimode fiber modes: Bent fibers - pyMMF: Step index benchmark - Compare bending methods for MMF simulations using pyMMF - Fast numerical estimations of axisymmetric multimode fibers modes