diode module#
Diode symbols for JITX Standard Library
This module provides diode symbol definitions including standard diodes and variants like Schottky, Zener, Tunnel, and TVS diodes.
- class DiodeConfig(label_config=None, pitch=2.0, body_width=0.6, body_height=None, line_width=0.05, filled=False)[source]#
Bases:
LabelConfigurableConfiguration for diode symbols
Defines the geometric and visual parameters for diode symbols.
- Parameters:
- class DiodeSymbol[T: DiodeConfig](config=None, **kwargs)[source]#
Bases:
LabelledSymbol,Generic[T]Diode symbol with graphics and pins.
The standard diode symbol consists of a triangle body pointing toward the cathode, with a T-bar at the cathode side.
Pins: ‘a’ (anode, top), ‘c’ (cathode, bottom)
- Parameters:
config (
T)
- config: T#
- property body_width: float#
See
body_width.
- property body_height: float | None#
See
body_height.
- property line_width: float#
See
line_width.
- property label_config: LabelConfigurable#
Configuration object that provides label configuration
- class SchottkyDiodeConfig(label_config=None, pitch=2.0, body_width=0.6, body_height=None, line_width=0.05, filled=False, wing_size=0.1)[source]#
Bases:
DiodeConfigConfiguration for Schottky diode symbols
Extends DiodeConfig with L-shaped wing decorations at the cathode bar.
- Parameters:
- class SchottkyDiodeSymbol[T: SchottkyDiodeConfig](config=None, **kwargs)[source]#
Bases:
DiodeSymbol,Generic[T]Schottky diode symbol with L-shaped wings at cathode bar.
Pins: ‘a’ (anode), ‘c’ (cathode)
- Parameters:
config (
T)
- class ZenerDiodeConfig(label_config=None, pitch=2.0, body_width=0.6, body_height=None, line_width=0.05, filled=False, wing_size=0.1)[source]#
Bases:
DiodeConfigConfiguration for Zener diode symbols
Extends DiodeConfig with diagonal wing decorations at the cathode bar.
- Parameters:
- class ZenerDiodeSymbol[T: ZenerDiodeConfig](config=None, **kwargs)[source]#
Bases:
DiodeSymbol,Generic[T]Zener diode symbol with diagonal wings at cathode bar.
Pins: ‘a’ (anode), ‘c’ (cathode)
- Parameters:
config (
T)
- class TunnelDiodeConfig(label_config=None, pitch=2.0, body_width=0.6, body_height=None, line_width=0.05, filled=False, wing_size=0.1)[source]#
Bases:
DiodeConfigConfiguration for Tunnel diode symbols
Extends DiodeConfig with vertical wing decorations at the cathode bar.
- Parameters:
- class TunnelDiodeSymbol[T: TunnelDiodeConfig](config=None, **kwargs)[source]#
Bases:
DiodeSymbol,Generic[T]Tunnel diode symbol with vertical wings at cathode bar.
Pins: ‘a’ (anode), ‘c’ (cathode)
- Parameters:
config (
T)
- class TVSDiodeConfig(label_config=None, pitch=2.0, body_width=0.6, body_height=None, line_width=0.05, filled=False, wing_size=0.1)[source]#
Bases:
DiodeConfigConfiguration for TVS diode symbols
Extends DiodeConfig with dual opposing triangles and wing decorations.
- Parameters:
- class TVSDiodeSymbol[T: TVSDiodeConfig](config=None, **kwargs)[source]#
Bases:
LabelledSymbol,Generic[T]TVS (Transient Voltage Suppressor) diode symbol with dual opposing triangles.
The TVS symbol consists of two triangles pointing at each other (back-to-back diodes) with wing decorations at the junction.
Pins: ‘a’ (anode), ‘c’ (cathode)
- Parameters:
config (
T)
- config: T#
- property label_config: LabelConfigurable#
Configuration object that provides label configuration