tidy3d.plugins.dispersion.AdvancedFitterParam#

class AdvancedFitterParam[source]#

Bases: Tidy3dBaseModel

Advanced fitter parameters

Parameters:
  • bound_amp (Optional[NonNegativeFloat] = None) โ€“ [units = Hz]. Upper bound of real and imagniary part of oscillator strength c in the model PoleResidue (The default โ€˜Noneโ€™ will trigger automatic setup based on the frequency range of interest).

  • bound_f (Optional[NonNegativeFloat] = None) โ€“ [units = Hz]. Upper bound of real and imaginary part of a that corresponds to pole damping rate and frequency in the model PoleResidue (The default โ€˜Noneโ€™ will trigger automatic setup based on the frequency range of interest).

  • bound_f_lower (NonNegativeFloat = 0.0) โ€“ [units = Hz]. Lower bound of imaginary part of a that corresponds to pole frequency in the model PoleResidue.

  • bound_eps_inf (ConstrainedFloatValue = 10.0) โ€“ Upper bound of epsilon at infinity frequency. It must be no less than 1.

  • constraint (Literal['hard', 'soft'] = hard) โ€“ Stability constraint: โ€˜hardโ€™ constraints are generally recommended since they are faster to compute per iteration, and they often require fewer iterations to converge since the search space is smaller. But sometimes the search space is so restrictive that all good solutions are missed, then please try the โ€˜softโ€™ constraints for larger search space. However, both constraints improve stability equally well.

  • nlopt_maxeval (PositiveInt = 5000) โ€“ Number of iterations in each inner optimization.

  • random_seed (Optional[ConstrainedIntValue] = 0) โ€“ The fitting tool performs global optimizations with random starting coefficients. With the same random seed, one obtains identical results when re-running the fitter; on the other hand, if one wants to re-run the fitter several times to obtain the best results, the value of the seed should be changed, or set to None so that the starting coefficients are different each time.

Attributes

Methods

Inherited Common Usage

bound_amp#
bound_f#
bound_f_lower#
bound_eps_inf#
constraint#
nlopt_maxeval#
random_seed#
__hash__()#

Hash method.