nnmt.lif._general.mean_input

nnmt.lif._general.mean_input(network, prefix)[source]

Calcs mean input for network and stores results using prefix.

See nnmt.lif._general._mean_input() for full documentation.

Parameters:
networkNetwork object

The network model for which the mean input is to be calculated. Needs to contain the parameters defined in nnmt.lif._general._mean_input().

prefixstr

The prefix used to store the result (e.g. ‘lif.delta.’).

Returns:
np.array

Array of mean inputs to each population in V.

See also

nnmt.lif._general._mean_input
For full documentation of network parameters.