A phase response curve reports how much a single perturbation shifts a
neuron's firing phase: deliver it at phase
For conductance-based neurons,
Each PRC example reuses one of the conductance-based neuron models from earlier chapters (RTM, WB, HH, Erisir), perturbed either by a synaptic pulse
or by an instantaneous voltage kick
All thirteen examples now live in one notebook, chapter25.ipynb:
theta_f/theta_prc/theta_prc_short_weak give the theta neuron's closed-form
return map, PRC, and linear-response PRC. rtm_init (shared with Chapter 24)
finds the single-cell RTM limit cycle for splay initialization.
simulate_synaptic_pulse_prc computes the RTM synaptic-pulse PRC, reused
directly for the interaction-function panel (simulate_three_weak_prcs), and the weak-pulse linear-response
check (simulate_weak_prc_comparison). simulate_voltage_kick_prc is the
voltage-kick analogue, reused for the strong-kick and weak-kick-comparison
(simulate_short_weak_prc_comparison) examples. simulate_phase_shift shows
the shift directly as two overlaid voltage traces (simulate_baseline and
simulate_perturbed) instead of a PRC curve. simulate_wb_prc (shared WB
gating and wb_init) covers both the inhibitory-pulse WB example and the WB
panel of the model-comparison figure; simulate_hh_prc and simulate_erisir_prc
provide the other two panels of that comparison.
Compare the theta neuron's smooth, everywhere-positive PRC to the conductance-based neurons' PRCs, which can change sign (a pulse can delay or advance firing depending on phase) or even go negative across most of the cycle for inhibition. Check that halving the perturbation strength collapses the normalized PRC onto the same curve (linear response), and that the phase-shift trace directly shows the same effect the PRC curve predicts.
- Start with the theta-neuron trio (
theta_f,theta_prc,theta_prc_short_weak) for the closed-form baseline. - Move to
simulate_synaptic_pulse_prcand the interaction-function panel, then the three-weak-pulses and weak-pulse linear-response checks. - Compare with
simulate_voltage_kick_prcand its weak-kick check, thensimulate_phase_shiftfor the same effect shown as raw traces. - Finish with the WB inhibitory-pulse example and the WB/HH/Erisir model-comparison panel.
Chapter 20 develops the synaptic gate kinetics (
Open chapter25.ipynb in Jupyter, or via the Colab badge
at the top of the notebook, and run all cells top to bottom. Several sliders
(interact) let you adjust perturbation strength or timing and watch the
PRC or trace update.