Wilson--Cowan equations replace individual membrane voltages with firing-rate variables for excitatory and inhibitory populations. These examples show how recurrent excitation and delayed inhibitory feedback make a population rhythm, and how that rhythm appears in rate traces, a phase plane, and a rastergram.
The variables
A representative system is
Nullclines are the points where one derivative is zero; their geometry helps explain the direction of a trajectory and any oscillatory feedback loop.
All four examples now live in one notebook, chapter22.ipynb:
simulate_wilson_cowan_e_and_i plots the excitatory and inhibitory rate
traces over several oscillation cycles. simulate_wilson_cowan_lowering_w_ee
lowers recurrent excitation and shows the altered long-time activity.
plot_wilson_cowan_phase_plane draws the E--I nullclines and the flow field
in the rate phase plane. simulate_wilson_cowan_rastergram samples the
rates into a population-style raster representation.
In simulate_wilson_cowan_e_and_i, compare the timing of E and I peaks
rather than only their heights. In the phase plane, follow the trajectory
relative to both nullclines. Then compare the lowered-$w_{EE}$ trace and
the raster: a rate oscillation is summarized differently by continuous
activity and by events.
- Run
simulate_wilson_cowan_e_and_i. - Use
plot_wilson_cowan_phase_planeto interpret the rate cycle. - Compare
simulate_wilson_cowan_lowering_w_eeandsimulate_wilson_cowan_rastergram.
The earlier phase-plane and bifurcation chapters provide the geometric tools for rate nullclines. Chapter 24 studies synchronization in spiking excitatory networks, whereas this chapter describes the population-level E--I mechanism.
Open chapter22.ipynb in Jupyter, or via the Colab
badge at the top of the notebook, and run all cells top to bottom.