diff --git a/doc/tutorials/active_dendrite/nestml_active_dendrite_tutorial.ipynb b/doc/tutorials/active_dendrite/nestml_active_dendrite_tutorial.ipynb index 78345262e..8b8f2a30a 100644 --- a/doc/tutorials/active_dendrite/nestml_active_dendrite_tutorial.ipynb +++ b/doc/tutorials/active_dendrite/nestml_active_dendrite_tutorial.ipynb @@ -135,7 +135,7 @@ " equations:\n", " # alpha shaped postsynaptic current kernel\n", " kernel syn_kernel = (e / tau_syn) * t * exp(-t / tau_syn)\n", - " recordable inline I_syn pA = convolve(syn_kernel, spikes_in) * pA\n", + " recordable inline I_syn pA = convolve(syn_kernel, spikes_in.weight)\n", " V_m' = -(V_m - E_L) / tau_m + (I_syn + I_dAP + I_e) / C_m\n", "\n", " parameters:\n", @@ -153,7 +153,7 @@ " T_dAP ms = 10 ms # time window over which the dendritic current clamp is active\n", "\n", " input:\n", - " spikes_in <- spike\n", + " spikes_in <- spike(weight pA)\n", "\n", " output: \n", " spike\n", @@ -538,7 +538,7 @@ " equations:\n", " # alpha shaped postsynaptic current kernel\n", " kernel syn_kernel = (e / tau_syn) * t * exp(-t / tau_syn)\n", - " recordable inline I_syn pA = convolve(syn_kernel, spikes_in) * pA\n", + " recordable inline I_syn pA = convolve(syn_kernel, spikes_in.weight)\n", " V_m' = -(V_m - E_L) / tau_m + (enable_I_syn * I_syn + I_dAP + I_e) / C_m\n", "\n", " parameters:\n", @@ -556,7 +556,7 @@ " T_dAP ms = 10 ms # time window over which the dendritic current clamp is active\n", "\n", " input:\n", - " spikes_in <- spike\n", + " spikes_in <- spike(weight pA)\n", "\n", " output:\n", " spike\n", @@ -772,7 +772,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" },