pyMMF.IndexProfile.getOptimalSolver#

IndexProfile.getOptimalSolver(curvature=False)[source]#

Returns the optimal solver based on the index profile and curvature flag.

Parameters:

curvature (bool): Flag indicating whether curvature is considered.

Returns:
str: The optimal solver based on the index profile and curvature flag.

Possible values are “SI” (for self.type == “SI” and not curvature), “radial” (if self.indexProfile.radialFunc is not None), or “eig” (default).

Parameters:

curvature (bool)