Fig. 2: Python code snippet illustrating the use of the ncpi library and its classes. | npj Systems Biology and Applications

Fig. 2: Python code snippet illustrating the use of the ncpi library and its classes.

From: A Python toolbox for neural circuit parameter inference

Fig. 2

This code snippet makes a few assumptions, such as the presence of ‘network.py’ and ‘simulation.py’ as files for creating and simulating the LIF network model, which are included in the ncpi library as examples, the availability of simulated firing rates as LIF_spike_rates, or the preprocessing of empirical data.

Back to article page