def wrap_run(Id): ''' Wrap run for multiprocessing ''' out = main(W_finite, b_v, b_c, b_h, Id=np.array([Id])) Mh, Mv = out['Mh'], out['Mv'] return monitor_to_spikelist(Mv).firing_rate(tbin)[N_v:, :]
def wrap_run(Id): ''' Wrap run for multiprocessing ''' out = main(W_finite, b_v, b_c, b_h, Id = np.array([Id])) Mh, Mv= out['Mh'], out['Mv'] return monitor_to_spikelist(Mv).firing_rate(tbin)[N_v:,:]
def wrap_run(Id): out = main(W, b_v, b_c, b_h, Id=np.array([Id])) Mh, Mv = out['Mh'], out['Mv'] return monitor_to_spikelist(Mv).firing_rate(tbin)[N_v:, :]
def wrap_run(Id): out = main(W, b_v, b_c, b_h, Id = np.array([Id])) Mh, Mv= out['Mh'], out['Mv'] return monitor_to_spikelist(Mv).firing_rate(tbin)[N_v:,:]