kicad2ems.fdtd.dielectric

Wideband dielectric model for FDTD: the Djordjevic-Sarkar (wideband Debye)
permittivity that matches a laminate's er / tan d at one frequency, fitted by a
few Debye poles plus a conductivity, which openEMS can run directly
(CSPropDebyeMaterial). Without it, the loss is a conductivity fitted at the band
centre: tan d then falls as 1/f, too lossy below the centre and too little
above.

    eps(f) = eps_inf + d_eps / (m2 - m1) * log10((w2 + j w) / (w1 + j w)),
        w1,2 = 2 pi 10^(m1,2)

with e^(+j w t) (eps = eps' - j eps''), m1 = 3 (1 kHz) and m2 = 12 (1 THz).
kicad2ems.fdtd.dielectric.debye_eps(eps_inf, poles, kappa, f)[source]
Complex relative permittivity of a fit_debye() result at f (Hz).
kicad2ems.fdtd.dielectric.describe(layers, fref, fmin, fmax)[source]
Lines: er / tan d of each dielectric at fmin and fmax under the wideband
model.
kicad2ems.fdtd.dielectric.djordjevic_sarkar(er, tand, fref, f)[source]
Complex relative permittivity (eps' - j eps'') at frequencies f (Hz),
equal to er (1 - j tand) at fref.
kicad2ems.fdtd.dielectric.fit_debye(er, tand, fref, fmin, fmax, npoles=None, tau_min=0.0)[source]
Debye poles + conductivity reproducing the Djordjevic-Sarkar model over
[fmin, fmax] (Hz):
    eps(f) = eps_inf + sum d_eps_i / (1 + j w tau_i) - j kappa / (w eps0)
Pole frequencies are log-spaced over [fmin / 2, 2 fmax] (1.5 per decade + 1,
at least 3); poles with tau < tau_min (openEMS skips relaxation times below
2 time steps) are left out. Returns (eps_inf, [(d_eps, tau), ...], kappa
S/m) with only non-zero poles.