Skip to content

Commit

Permalink
Wednesday 27th noon revision
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianNGitahi committed Sep 27, 2023
1 parent dfa0b59 commit b0d92cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Simulation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -257,7 +257,7 @@
" # update [NM] value\n",
"\n",
" # define d_nm/dt, the inifinitesimal decay in [NM] in one timestep \n",
" d_nm_dt = (nm_conc[t]-nm_conc0)/tau\n",
" d_nm_dt = (nm_conc[t]-nm_conc0)/tau\n",
"\n",
" # if there's a spike add Delta_nm else subtract d_nm/dt\n",
" if neuron_activity[t]==1: nm_conc[t] = nm_conc[t] + delta_nm\n",
Expand All @@ -281,7 +281,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -416,7 +416,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 22,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -461,7 +461,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 23,
"metadata": {},
"outputs": [
{
Expand All @@ -470,7 +470,7 @@
"Text(0.5, 1.0, 'Relationship between f signal and [NM]')"
]
},
"execution_count": 11,
"execution_count": 23,
"metadata": {},
"output_type": "execute_result"
},
Expand Down

0 comments on commit b0d92cf

Please sign in to comment.