Exemplo n.º 1
0
def runSim():

    #have to cast the output of this to float and list to convert into a form that sim will take as args
    inputs = list(getInfo())
    inputs = [float(i) for i in inputs]

    sim(inputs[0], inputs[1], inputs[2], inputs[3], inputs[4], inputs[5],
        inputs[6], inputs[7])
Exemplo n.º 2
0
 def simClickListener(self):
     from Simulation import simulation as sim
     sim(self)
Exemplo n.º 3
0
 def simClickListener(self):
     from Simulation import simulation as sim
     global simulation
     simulation = sim(self)