MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / indepVars

Method indepVars

SLiCAP/SLiCAPinstruction.py:1579–1596  ·  view source on GitHub ↗

Returns a list with names of independent sources in **instruction.circuit** :return: list with names of independent sources in **instruction.circuit** :rtype: list :Example: >>> # create an instance if a SLiCAP instruction >>> my_instr = instructio

(self)

Source from the content-addressed store, hash-verified

1577 return self.circuit.getElementValue(elementID, param, self.numeric)
1578
1579 def indepVars(self):
1580 """
1581 Returns a list with names of independent sources in **instruction.circuit**
1582
1583 :return: list with names of independent sources in **instruction.circuit**
1584 :rtype: list
1585
1586 :Example:
1587
1588 >>> # create an instance if a SLiCAP instruction
1589 >>> my_instr = instruction()
1590 >>> # create my_instr.circuit from the netlist 'myFirstRCnetwork.cir'
1591 >>> my_instr.setCircuit('myFirstRCnetwork.cir')
1592 >>> # Obtain a list with names of independent sources:
1593 >>> my_instr.indepVars()
1594 ['V1']
1595 """
1596 return self.circuit.indepVars
1597
1598 def depVars(self):
1599 """

Callers 1

checkSourceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected