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:
EnumInductor 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:
LabelConfigurableConfiguration for inductor symbols
Defines the geometric and visual parameters for inductor symbols.
- Parameters:
label_config (LabelConfig | None)
pitch (float)
polarized (bool)
core_style (InductorCoreStyle)
porch_width (float)
periods (int)
line_width (float)
- 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:
LabelledSymbolInductor symbol with graphics and pins.
- Parameters:
config (InductorConfig | None)
partial_symbol (bool)
- inductor_bars: tuple[()] | tuple[Polyline] | tuple[Polyline, Polyline]#
- inductor_coils: ArcPolyline#
- inductor_porches: tuple[Polyline, Polyline]#
- config: InductorConfig#
- property porch_width: float#
See
porch_width.
- property line_width: float#
See
line_width.
- property label_config: LabelConfigurable#
Configuration object that provides label configuration