brainmass.delay_index#
- brainmass.delay_index(n_hidden)[source]#
Build the neuron-index matrix used to address per-connection delays.
- Parameters:
n_hidden (
int) – Number of hidden units (nodes).- Returns:
An integer array of shape
(n_hidden, n_hidden)whose every row isarange(n_hidden); rowiselects the source-neuron index for each delayed connection into targeti.- Return type:
numpy.ndarray