Chapter 33 covers the book's beta-rhythm material. The examples examine M-current PING period skipping and PING-with-inhibition/burst (PINB), including gap junctions and cell-assembly timing.
Slow M-current recovery can make E cells skip gamma opportunities, yielding beta-scale population timing. PINB organizes which E assemblies participate and when; gap junctions can change inhibitory coordination. A slower rhythm therefore need not mean that every cell fires slowly.
The PING E-I loop is supplemented by M-current-controlled E-cell availability:
Population period and skipped cycles are useful timing measures.
Gap-junction currents are proportional to
All nine examples live in one notebook, chapter33.ipynb.
The network sims integrate 40-250 coupled cells over tens of thousands of
time steps, so their per-timestep update loops are @njit-compiled
(numba), while population initializers and the tau_d_q bisection search
stay plain NumPy.
simulate_m_current_beta_with_gj/plot_beta_gj_raster cover
M_CURRENT_BETA_WITH_GJ: a gap-junction-coupled population of M-current E
cells with no synaptic coupling, exposing g_hat_gap through an
interact() slider.
simulate_m_current_ping is the shared M-current PING network integrator
(RTM E cells with M-current, WB I cells, configurable E-E/E-I/I-E/I-I
connectivity). simulate_m_current_ping_4 through simulate_m_current_ping_8
are thin wrappers around it, each exposing one differentiating parameter
through interact(): g_m (M_CURRENT_PING_4), g_hat_ee
(M_CURRENT_PING_5 and M_CURRENT_PING_6, the latter with recurrent
excitation confined to the E_P sub-assembly), i_ext_i_mean
(M_CURRENT_PING_7, with E_S-to-I synapses halved), and the E_P
drive-boost factor (M_CURRENT_PING_8). All are plotted with
plot_m_current_ping_raster.
simulate_pinb is the shared PINB network integrator (plain RTM/WB cells,
no M-current, with independent I-I and I-E synapse pools driven by the
same I-cell spikes). simulate_pinb_1 (slider: tau_d_ie),
simulate_pinb_2 (slider: g_hat_ie), and simulate_pinb_3 (slider:
i_ext_e_mean) are thin wrappers, plotted with plot_pinb (raster plus
the E-cell-averaged LFP-like trace).
Count skipped gamma opportunities before calling the population rhythm beta. In the gap-junction case, inspect cluster timing, not only voltage. In PINB rasters, identify participating E assemblies and their order relative to inhibition.
- Run
M_CURRENT_PING_4throughM_CURRENT_PING_8. - Compare
M_CURRENT_BETA_WITH_GJ. - Run
PINB_1,PINB_2, andPINB_3.
Chapter 9 introduces M-current context, Chapter 21 gap junctions, Chapters 30 and 32 PING, and Chapter 34 nested slow/fast rhythms.
Open chapter33.ipynb and run the cells top to bottom.
The network sims (M_CURRENT_PING_4-M_CURRENT_PING_8 and
PINB_1-PINB_3) integrate 40-250 coupled cells over 200-500ms with a
fixed 0.01ms step, so each can take from several seconds to about a
minute once numba has compiled the step loop.