This chapter compares the RTM excitatory-neuron model with Wang--Buzsáki (WB) and Erisir inhibitory-neuron models. All are conductance-based, but their maximal conductances, reversal potentials, and gating kinetics produce distinct spike waveforms and recovery speeds.
The models share sodium, potassium, and leak currents, while their rate laws
encode cell-type-specific kinetics. In these implementations, sodium
activation
The common current-balance form is
Here
All five examples now live in one notebook, chapter05.ipynb:
simulate_rtm_voltage_trace runs the RTM model; simulate_rtm_gating_variables
plots RTM gate steady states and time constants; simulate_wb_voltage_trace
and simulate_wb_voltage_trace_1996 run the two WB parameterizations;
simulate_erisir_voltage_trace(n_power=...) covers both Erisir variants
(ipywidgets slider to explore its
parameters interactively.
Compare voltage traces before treating a label such as “excitatory” or “inhibitory” as a complete explanation. In the gating figure, compare both the equilibrium curves and their time constants; rate laws, not merely the names of the gates, distinguish the models.
- Begin with
THREE_MODELS_GATING_VARIABLESand the RTM rate functions. - Run
RTM_VOLTAGE_TRACE, thenWB_VOLTAGE_TRACE. - Compare the two Erisir variants and locate the changed power of
$n$ .
Chapters 01 and 03 introduce conductance-based HH-style models and gate kinetics. Chapter 09 extends the RTM model with slow adaptation currents.
Open chapter05.ipynb in Jupyter, or via the Colab
badge at the top of the notebook. Run all cells top to bottom; each
section's static figure reproduces the book's plot, and the interact(...)
cell below it lets you adjust that example's parameters with sliders.