kicad2ems.core.materials

Laminates by name (R-E4): what a KiCad stackup's `material` says, as εr and tan
δ at the frequency the maker quotes them at. A dielectric of the stackup takes
its εr and tan δ from the file; where the file gives none, from here by its
material's name; where neither, FR-4's, and a note says so. Its reference
frequency (`fref`, Hz) is this table's for a named laminate: the wideband
(Djordjevic-Sarkar) model of mom25d and the FDTD layer (`--diel wideband`) holds
the layer's values there instead of at one `--diel-fref` for every layer. A
generic material (FR4, polyimide) has none: `--diel-fref` stands for it.

    lookup('Rogers RO4350B')  # dict(name='RO4350B', er=3.66, tand=0.0037,
                              # fref=10e9, source=...)
kicad2ems.core.materials.djordjevic_sarkar(er, tand, fref, f)[source]
Complex relative permittivity (eps' - j eps'', e^(+j w t)) at f (Hz) of
the wideband Debye model through er (1 - j tand) at fref: eps_inf + d_eps /
(M2 - M1) log10((w2 + j w) / (w1 + j w)), w1,2 = 2 pi 10^(M1,2) (the FDTD
layer's kicad2ems.fdtd.dielectric and mom25d.multilayer have the same).
kicad2ems.core.materials.er_of(it, key='er')[source]
A stackup item's er (key='tand': its loss tangent) as Board takes it:
the file's, else its material's from the library, else FR-4's (a mask's
er 3.3, tan d 0). For the readers of the raw stack (KiCadBoard's
stack_items, where KiCad's "Not specified" is None: max() and sums of it
had raised TypeError); Board's own says so in a note.
kicad2ems.core.materials.lookup(name)[source]
The library's entry for a material's name (KiCad's, any case and
punctuation; a maker's name before it is ignored), or None.