capacitor module#
Capacitor symbol for JITX Standard Library
- class PolarizedStyle(*values)[source]#
Bases:
EnumPolarized capacitor symbol styles
Defines the visual representation style for polarized capacitor symbols.
- STRAIGHT = 'straight'#
- CURVED = 'curved'#
- class CapacitorConfig(label_config=None, pitch=4.0, width=3.0, porch_width=<Quantity(80, 'percent')>, line_width=0.15)[source]#
Bases:
LabelConfigurableConfiguration for capacitor symbols
Defines the geometric and visual parameters for capacitor symbols.
- Parameters:
label_config (LabelConfig | None)
pitch (float)
width (float)
porch_width (float)
line_width (float)
- class CapacitorSymbol(config=None, **kwargs)[source]#
Bases:
LabelledSymbol,GenericCapacitor symbol with graphics and pins. Also serves as the base class for all other capacitor symbol types.
- Parameters:
config (T)
- property porch_width: float#
See
porch_width.
- property line_width: float#
See
line_width.
- property label_config: LabelConfigurable#
Configuration object that provides label configuration
- class PolarizedCapacitorConfig(label_config=None, pitch=4.0, width=3.0, porch_width=<Quantity(80, 'percent')>, line_width=0.15, style=PolarizedStyle.STRAIGHT, pol_radius=5.0, plus_size=<Quantity(20, 'percent')>)[source]#
Bases:
CapacitorConfigConfiguration for polarized capacitor symbols
Extends CapacitorConfig with polarized-specific parameters.
- Parameters:
label_config (LabelConfig | None)
pitch (float)
width (float)
porch_width (float)
line_width (float)
style (PolarizedStyle)
pol_radius (float)
plus_size (float)
- style: PolarizedStyle = 'straight'#
Visual style for the polarized capacitor (straight or curved)
- class PolarizedCapacitorSymbol(config=None, **kwargs)[source]#
Bases:
CapacitorSymbol,GenericPolarized capacitor symbol with graphics and pins. Supports both straight and curved bottom plate styles.
- Parameters:
config (T)
- property style: PolarizedStyle#
See
style.
- property pol_radius: float#
See
pol_radius.