def __init__(self, model):
     if isinstance(model, Generator):
         self.model = embed(model)
     else:
         self.model = model
     self.gensys = findInitialGenerator(self.model.genInfo,
                             0, self.model.icdict, self.model.pars,
                 self.model.intvars)[0]
     self._autoMod = None
     self.curves = {}
     self.plot = pargs()
Example #2
0
 def __init__(self, model):
     if isinstance(model, Generator):
         self.model = embed(model)
     else:
         self.model = model
     self.gensys = findInitialGenerator(self.model.genInfo, 0,
                                        self.model.icdict, self.model.pars,
                                        self.model.intvars)[0]
     self._autoMod = None
     self.curves = {}
     self.plot = pargs()
Example #3
0
 def __init__(self, model):
     if isinstance(model, Generator):
         self.model = embed(model, make_copy=False)
         self.gensys = 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()