def setUp(self): setup.setup_empty_scene(self, eq_config=setup.medium_eq_config) self.view.attributes.auto_compute_home_position = False self.view.camera.setView([26, 965, 600], ([0.0, 0.0, 1.0], 0.0)) circuit_config = brain.test.circuit_config simulation = brain.Simulation(circuit_config) self.scene.circuit = simulation.open_circuit() self.simulation = simulation self.tmp_images = []
def setUp(self): setup.setup_empty_scene(self, eq_config=setup.small_eq_config) self.view.attributes.background = [0.5, 0.5, 0.5, 1]