inductor module#

Inductor symbol for JITX Standard Library

This module provides the inductor symbol definition that also supports the transformer symbol definition.

class InductorCoreStyle(*values)[source]#

Bases: Enum

Inductor core styles

NO_CORE = 'no_core'#
SINGLE_BAR_CORE = 'single_bar_core'#
DOUBLE_BAR_CORE = 'double_bar_core'#
class InductorConfig(label_config=None, pitch=4.0, polarized=False, core_style=InductorCoreStyle.NO_CORE, porch_width=0.25, periods=3, line_width=0.15)[source]#

Bases: LabelConfigurable

Configuration for inductor symbols

Defines the geometric and visual parameters for inductor symbols.

Parameters:
pitch: float = 4.0#

Distance between pin points

polarized: bool = False#

Whether the inductor has polarity

core_style: InductorCoreStyle = 'no_core'#

Style of the inductor core

porch_width: float = 0.25#

Length of straight sections at ends

periods: int = 3#

Number of half-circles in the inductor winding shape

line_width: float = 0.15#

Width of the inductor lines

class InductorSymbol(config=None, partial_symbol=False, **kwargs)[source]#

Bases: LabelledSymbol

Inductor symbol with graphics and pins.

Parameters:
inductor_bars: tuple[()] | tuple[Polyline] | tuple[Polyline, Polyline]#
inductor_coils: ArcPolyline#
inductor_porches: tuple[Polyline, Polyline]#
config: InductorConfig#
property pitch: float#

See pitch.

property polarized: bool#

See polarized.

property porch_width: float#

See porch_width.

property periods: int#

See periods.

property line_width: float#

See line_width.

property label_config: LabelConfigurable#

Configuration object that provides label configuration