Substrate#

class pyedb.libraries.common.Substrate(h: float = 0.0001, er: float = 4.4, tan_d: float = 0, name: str = 'SUB', size: Tuple[float, float] = (0.001, 0.001))#

Small helper that groups the four basic substrate parameters used throughout the library.

Parameters:
hfloat, default 100 µm

Substrate height in metres.

erfloat, default 4.4

Relative permittivity.

tan_dfloat, default 0

Loss tangent.

namestr, default “SUB”

Logical name used for layer creation.

sizetuple[float, float], default (1 mm, 1 mm)

(width, length) of the surrounding ground plane in metres.

Examples

>>> sub = Substrate(h=1.6e-3, er=4.4, tan_d=0.02, name="FR4", size=(10e-3, 15e-3))
>>> sub.h
0.0016

Attributes