def saveSpikes(self, stim, folder, trial): data_analysis.saveSpikes(self.newSimulation.Params['N'], self.spikes, self.s_layers_to_record, self.sp_labels, folder, "retina", stim, trial, 0)
def saveSpikes(self, stim, folder, trial): print("\n--- Saving spikes ---\n") data_analysis.saveSpikes(self.newSimulation.Params['N_cortex'], self.spikes, self.layers_to_record, self.labels, folder, "thalamocortical_system", stim, trial, self.layer_sizes)