tidy3d.plugins.dispersion.web.run#
- class run[source]#
Bases:
Execute the data fit using the stable fitter in the server.
- Parameters:
fitter (DispersionFitter) β Fitter with the data to fit.
num_poles (PositiveInt, optional) β Number of poles in the model.
num_tries (PositiveInt, optional) β Number of optimizations to run with random initial guess.
tolerance_rms (NonNegativeFloat, optional) β RMS error below which the fit is successful and the result is returned.
advanced_param (
AdvancedFitterParam
, optional) β Advanced parameters passed on to the server.
- Returns:
Best results of multiple fits: (dispersive medium, RMS error).
- Return type:
Tuple[
PoleResidue
, float]
Inherited Common Usage