pyMMF.propagationModeSolver.solve#

propagationModeSolver.solve(solver='default', curvature=None, storeData=True, options={})[source]#

Find the propagation constants and mode profile of a multimode fiber. For an arbitrary index profile, it finds the solution of the eigenvalue problem of the scalar wave equation in a discretized space [1].

Parameters:
storeData: bool

Stores data in the propagationModeSolver object is set to True defaults to True

curvature: float

Curvature of the fiber in meters defaults to None

solver: string (‘default’, ‘radial’, ‘eig’, ‘SI’, or ‘WKB’)

solver to be used.Type of solver. Should be one of

Default is ‘default’ ;)

options: dict

A dictionary of solver options. They are specific to the solver used, read the documentation of the solver for more information.

Returns:
modesModes

Modes object containing all the mode information.

Parameters:
  • solver (str)

  • curvature (bool)

  • storeData (bool)

  • options (dict)