create_current_source#
- Edb.create_current_source(terminal, ref_terminal)[source]#
Create a current source.
- Parameters:
- terminal
legacy.edb_core.edb_data.terminals.EdgeTerminal
, legacy.edb_core.edb_data.terminals.PadstackInstanceTerminal
,legacy.edb_core.edb_data.terminals.PointTerminal
,legacy.edb_core.edb_data.terminals.PinGroupTerminal
, Positive terminal of the port.- ref_terminalclass:legacy.edb_core.edb_data.terminals.EdgeTerminal,
legacy.edb_core.edb_data.terminals.PadstackInstanceTerminal
,legacy.edb_core.edb_data.terminals.PointTerminal
,legacy.edb_core.edb_data.terminals.PinGroupTerminal
, Negative terminal of the source.
- terminal
- Returns:
legacy.edb_core.edb_data.ports.ExcitationSources