def run(): global bradb global parameters # bsim.injectBrain(bradb,parameters) bsim.injectStim(bradb,parameters,parameters['RATE1'],0.0,parameters['ENDSIM'],john) #john? bsim.injectStim(bradb,parameters,parameters['RATE2'],0.0,parameters['ENDSIM'],mary) #mary? bradb.parms['DURATION']=str(parameters['ENDSIM']) bsim.runBrain(bradb, (0.0,parameters['ENDSIM']))
def run(): global bradb bsim.injectBrain(bradb,parameters) bsim.runBrain(bradb)