Source#

class pyedb.grpc.database.utility.sources.Source(pedb)#

Bases: object

Provides for handling Siwave sources.

Overview#

name

Source name.

source_type

Source type.

positive_node

Positive node of the source.

negative_node

Negative node of the source.

amplitude

Amplitude value of the source.

phase

Phase of the source.

impedance

Impedance of the source.

r_value

Resistance value of the RLC source.

l_value

Inductance value of the RLC source.

c_value

Capacitance value of the RLC source.

create_physical_resistor

Whether to create a physical resistor.

Import detail#

from pyedb.grpc.database.utility.sources import Source

Property detail#

property Source.name#

Source name.

Returns:
str

Source name.

property Source.source_type#

Source type.

Returns:
int

Source type value.

property Source.positive_node#

Positive node of the source.

Returns:
Node or
PinGroup

Positive node object.

property Source.negative_node#

Negative node of the source.

Returns:
Node or
PinGroup

Negative node object.

property Source.amplitude#

Amplitude value of the source.

Returns:
float

Amplitude in amperes for a current source or volts for a voltage source.

property Source.phase#

Phase of the source.

Returns:
float

Phase value in degrees.

property Source.impedance#

Impedance of the source.

Returns:
float

Impedance value in ohms.

property Source.r_value#

Resistance value of the RLC source.

Returns:
float

Resistance value in ohms.

property Source.l_value#

Inductance value of the RLC source.

Returns:
float

Inductance value in henries.

property Source.c_value#

Capacitance value of the RLC source.

Returns:
float

Capacitance value in farads.

property Source.create_physical_resistor#

Whether to create a physical resistor.

Returns:
bool

True if a physical resistor is created, False otherwise.