Ejemplo n.º 1
0
 def __init__(self, model):
     if isinstance(model, Generator):
         self.model = embed(model, make_copy=False)
         self.gensys = list(self.model.registry.values())[0]
     else:
         self.model = model
         mi, swRules, globalConRules, nextModelName, reused, \
             epochStateMaps, notDone = model._findTrajInitiator(None,
                                                                0, 0, self.model.icdict, None, None)
         self.gensys = mi.model
     self._autoMod = None
     self.curves = {}
     self.plot = pargs()
Ejemplo n.º 2
0
 def __init__(self, model):
     if isinstance(model, Generator):
         self.model = embed(model, make_copy=False)
         self.gensys = list(self.model.registry.values())[0]
     else:
         self.model = model
         mi, swRules, globalConRules, nextModelName, reused, \
             epochStateMaps, notDone = model._findTrajInitiator(None,
                                                                0, 0, self.model.icdict, None, None)
         self.gensys = mi.model
     self._autoMod = None
     self.curves = {}
     self.plot = pargs()