tidy3d.plugins.dispersion.StableDispersionFitter

tidy3d.plugins.dispersion.StableDispersionFitter#

class StableDispersionFitter[source]#

Bases: DispersionFitter

Deprecated.

Parameters:
  • attrs (dict = {}) – Dictionary storing arbitrary metadata for a Tidy3D object. This dictionary can be freely used by the user for storing data without affecting the operation of Tidy3D as it is not used internally. Note that, unlike regular Tidy3D fields, attrs are mutable. For example, the following is allowed for setting an attr obj.attrs['foo'] = bar. Also note that Tidy3D` will raise a TypeError if attrs contain objects that can not be serialized. One can check if attrs are serializable by calling obj.json().

  • wvl_um (ArrayLike[dtype=float, ndim=1]) – [units = um]. Wavelength data in micrometers.

  • n_data (ArrayLike[dtype=float, ndim=1]) – Real part of the complex index of refraction.

  • k_data (Optional[ArrayLike[dtype=float, ndim=1]] = None) – Imaginary part of the complex index of refraction.

  • wvl_range (Tuple[float, float] = (None, None)) – [units = um]. Truncate the wavelength, n and k data to the wavelength range ‘[wvl_min, wvl_max]’ for fitting.

Attributes

attrs

Methods

fit([num_poles, num_tries, tolerance_rms, ...])

Deprecated.

Inherited Common Usage

fit(num_poles=1, num_tries=50, tolerance_rms=0.01, guess=None, advanced_param=AdvancedFitterParam(attrs={}, bound_amp=None, bound_f=None, bound_f_lower=0.0, bound_eps_inf=10.0, constraint='hard', nlopt_maxeval=5000, random_seed=0, type='AdvancedFitterParam'))[source]#

Deprecated.

__hash__()#

Hash method.