def __init__(self): try: Run.__init__(self) except AttributeError: pass # ---- # An instance of simfMRI.examples.* Class (or similar) # should go here. self.BaseClass = Simple ## = BaseClass() # ---- # User Globals self.nrun = 100 self.TR = 2 self.ISI = 2 self.model_conf = "simple.ini" self.savedir = "testdata" self.ntrial = 60 # -- # Optional Globals self.ncore = None # ---- # Misc self.prngs = None ## A list of RandomState() instances
def __init__(self): try: Run.__init__(self) except AttributeError: pass # ---- # An instance of simfMRI.examples.* Class (or similar) # should go here. self.BaseClass = Simple ## = BaseClass() # ---- # User Globals self.nrun = 100 self.TR = 2 self.ISI = 2 self.model_conf = "simple.ini" self.savedir = "testdata" self.ntrial = 60 # -- # Optional Globals self.ncore = 2 # ---- # Misc self.prngs = None ## A list of RandomState() instances
def __init__(self): try: Run.__init__(self) except AttributeError: pass # ---- # An instance of simfMRI.examples.* Class (or similar) # should go here. self.BaseClass = functools.partial(RWAR1, behave="learn") ## Nornalize the signature of BaseClass with ## functools.partial ## Expects: ## BaseClass(self.ntrial, TR=self.TR, ISI=self.ISI, prng=prng) # ---- # User Globals self.nrun = 5000 self.TR = 2 self.ISI = 2 self.model_conf = "rw_nobox.ini" self.savedir = "data" self.ntrial = 60 # -- # Optional Globals self.ncore = 10 # ---- # Misc self.prngs = None ## A list of RandomState() instances
def __init__(self): try: Run.__init__(self) except AttributeError: pass # ---- # An instance of simfMRI.examples.* Class (or similar) # should go here. self.BaseClass = functools.partial(RW, behave="random") ## Nornalize the signature of BaseClass with ## functools.partial ## Expects: ## BaseClass(self.ntrial, TR=self.TR, ISI=self.ISI, prng=prng) # ---- # User Globals self.nrun = 100 self.TR = 2 self.ISI = 2 self.model_conf = "rw.ini" self.savedir = "testdata" self.ntrial = 60 # -- # Optional Globals self.ncore = 2 # ---- # Misc self.prngs = None ## A list of RandomState() instances