bjt module#
BJT transistor symbols for JITX Standard Library
This module provides BJT (Bipolar Junction Transistor) symbol definitions for NPN and PNP transistors.
- class BJTJunction(*values)[source]#
Bases:
EnumBJT junction types
Defines the junction type for bipolar junction transistors.
- NPN = 'npn'#
- PNP = 'pnp'#
- class BJTConfig(arrow_config=None, label_config=None, pitch=3.0, width=2.0, porch_width=0.25, base_line_length=2.3, outline=True, line_width=0.1)[source]#
Bases:
LabelConfigurable,ArrowConfigurableConfiguration for BJT symbols
Defines the geometric and visual parameters for BJT transistor symbols.
- Parameters:
arrow_config (ArrowConfig | None)
label_config (LabelConfig | None)
pitch (float)
width (float)
porch_width (float)
base_line_length (float)
outline (bool)
line_width (float)
- class BJTSymbol(junction_type=BJTJunction.NPN, config=None, **kwargs)[source]#
Bases:
LabelledSymbol,GenericBJT transistor symbol with graphics and pins.
The BJT symbol consists of: - Emitter line with arrow (direction indicates NPN/PNP) - Collector line - Base line (vertical) - Optional circle outline
Pins: ‘B’ (base), ‘C’ (collector), ‘E’ (emitter)
- Parameters:
junction_type (BJTJunction)
config (
T)
- outline_circle: Shape[ArcPolyline] | None#
-
config:
T#
- junction_type: BJTJunction#
- property porch_width: float#
See
porch_width.
- property base_line_length: float#
See
base_line_length.
- property line_width: float#
See
line_width.
- property label_config: LabelConfigurable#
Configuration object that provides label configuration