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

Class modelDef

SLiCAP/SLiCAPprotos.py:513–535  ·  view source on GitHub ↗

Protpotype for model definitions that can be added to SLiCAP.

Source from the content-addressed store, hash-verified

511 """
512
513class modelDef(object):
514 """
515 Protpotype for model definitions that can be added to SLiCAP.
516 """
517 def __init__(self):
518
519 self.name = ''
520 """
521 Name (*str*) of the model.
522 """
523 self.type = ''
524 """
525 Name (*str*) of the built-in model type that should be used for this
526 model.
527 """
528
529 self.params = {}
530 """
531 (*dict*) with key-value pairs:
532
533 - key (*str*): Model parameter name
534 - value (*sympy object*, float, int): Value or expression
535 """
536
537def _initAll():
538 """

Callers 1

_parseCommandFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected