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]