Пример #1
0
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:, :]
Пример #2
0
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:,:]
Пример #3
0
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:, :]
Пример #4
0
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:,:]