def read_PY_spikes(self, file): self.PY_binary = edu.calc_spikes(self.pyn, threshold=3) indizes = np.where(self.PY_binary == 1)[-1] self.PY_spike_times = indizes * self.dt
def read_PD_spikes(self, file): self.PD_binary = edu.calc_spikes(self.pdn, threshold=.05) indizes = np.where(self.PD_binary == 1)[-1] self.PD_spike_times = indizes * self.dt
def read_LP_spikes(self, file): self.LP_binary = edu.calc_spikes(self.lpn, threshold=50) indizes = np.where(self.LP_binary == 1)[-1] self.LP_spike_times = indizes * self.dt