def setup(self): if "foo" not in recording.Recorder.formats: recording.Recorder.formats['foo'] = "bar" self.rv = recording.Recorder('v') self.rg = recording.Recorder('gsyn') self.rs = recording.Recorder('spikes') self.rf = recording.Recorder('foo') self.cells = [MockID(22), MockID(29)]
def setUp(self): self.p = sim.Population(2, sim.IF_cond_exp()) self.rec = recording.Recorder(self.p) self.cells = self.p.all_cells # [MockID(22), MockID(29)]