API Reference#

Classes#

pyMMF.IndexProfile(npoints, areaSize)

Class representing the refractive index profile of the fiber.

pyMMF.propagationModeSolver()

Class for solving the scalar wave equation in multimode fiber.

pyMMF.Modes()

Class to store the modes of a multimode fiber, typically returned by the solver

Helper functions#

pyMMF.estimateNumModesSI(wl, a, NA[, pola])

Returns a rough estimation of the number of propagating modes of a step index fiber.

pyMMF.estimateNumModesGRIN(wl, a, NA[, pola])

Returns a rough estimation of the number of propagating modes of a GRIN fiber.