tidy3d
tidy3d copied to clipboard
Fast Dispersion Fitter: keep poles slightly away from input freqs
Sometimes in the fitter, the poles move close to the input freqs. When they move too close, the response function is invalid and the fitter errors. This PR keeps them a certain distance (1e-10 rad/s) away.
This PR should fix this issue: https://github.com/flexcompute/tidy3d/issues/1631