jfet module#

JFET transistor symbols for JITX Standard Library

This module provides JFET (Junction Field Effect Transistor) symbol definitions for N-Channel and P-Channel transistors (always depletion mode).

class JFETConfig(arrow_config=None, label_config=None, pitch=3.0, width=2.0, porch_width=0.5, base_line_length=2.4, sd_channel_width=0.8, arrow_offset=0.1, outline=True, line_width=0.1)[source]#

Bases: LabelConfigurable, ArrowConfigurable

Configuration for JFET symbols

Defines the geometric and visual parameters for JFET symbols. JFETs are always depletion-mode devices (solid channel line).

Parameters:
pitch: float = 3.0#

Distance between drain and source pins

width: float = 2.0#

Distance from drain/source line to gate pin

porch_width: float = 0.5#

Length of porch lines from pins to channel

base_line_length: float = 2.4#

Length of the channel structure

sd_channel_width: float = 0.8#

Width of the source-drain channel body

arrow_offset: float = 0.1#

Offset of arrow along gate-to-channel line (as fraction)

outline: bool = True#

Whether to draw circle outline around transistor

line_width: float = 0.1#

Width of symbol lines

class JFETSymbol(junction_type=FETJunction.N_CHANNEL, config=None, **kwargs)[source]#

Bases: LabelledSymbol, Generic

JFET symbol with graphics and pins.

The JFET symbol consists of: - Drain and source channel lines - Solid channel (JFETs are always depletion mode) - Gate arrow pointing into or out of channel - Optional circle outline

Pins: ‘G’ (gate), ‘D’ (drain), ‘S’ (source)

Parameters:
drain_line: Shape[Polyline]#
source_line: Shape[Polyline]#
drain_porch: Shape[Polyline]#
source_porch: Shape[Polyline]#
channel: Shape[Polyline]#
gate_arrow: Arrow#
outline_circle: Shape[ArcPolyline] | None#
G: Pin#
D: Pin#
S: Pin#
config: T#
junction_type: FETJunction#
property pitch: float#

See pitch.

property width: float#

See width.

property porch_width: float#

See porch_width.

property base_line_length: float#

See base_line_length.

property sd_channel_width: float#

See sd_channel_width.

property arrow_offset: float#

See arrow_offset.

property outline: bool#

See outline.

property line_width: float#

See line_width.

property label_config: LabelConfigurable#

Configuration object that provides label configuration