Substrate#

class pyedb.libraries.common.Substrate#

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

Overview#

Import detail#

from pyedb.libraries.common import Substrate

Attribute detail#

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