MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / element

Class element

SLiCAP/SLiCAPprotos.py:474–511  ·  view source on GitHub ↗

Prototype circuit element object.

Source from the content-addressed store, hash-verified

472 return elementValues
473
474class element(object):
475 """
476 Prototype circuit element object.
477 """
478 def __init__(self):
479 self.refDes = ''
480 """
481 Element reference designator (*str*), defaults to ''.
482 """
483
484 self.type = ''
485 """
486 Element type: First letter of refdes (*str*).
487 """
488
489 self.nodes = []
490 """
491 (*list*) with names (*str*) of the nodes to which the element is
492 connected.
493 """
494
495 self.refs = []
496 """
497 (*list*) with reference designators of elements (*str*) that are
498 referenced to by the element.
499 """
500
501 self.params = {}
502 """
503 (*dict*) with key-value pairs:
504
505 - key (*sympy.core.symbol.Symbol*): Name of an element parameter.
506 - value (*sympy object*, float, int): Value of the parameter.
507 """
508 self.model = ''
509 """
510 Name (*str*) of the model of the element.
511 """
512
513class modelDef(object):
514 """

Callers 5

_doInstructionFunction · 0.90
_addDCvarSourcesFunction · 0.90
_addResNoiseSourcesFunction · 0.90
_parseElementFunction · 0.90
_parseSubcircuitElementFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected