Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
* Remove lines that made sense when irregular spike arrival was supported
  • Loading branch information
JesusEV committed Oct 9, 2024
1 parent d7e63ee commit 4574e3f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@

if args.neuron_model in ["eprop_iaf_psc_delta", "eprop_iaf_psc_delta_adapt"]:
params_nrn_rec["V_reset"] = -0.5 # mV, reset membrane voltage
params_nrn_rec["c_reg"] = args.c_reg_delta / duration["sequence"] / scale_factor**2
params_nrn_rec["V_th"] = 0.5

####################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@

if model_nrn_rec in ["eprop_iaf_psc_delta", "eprop_iaf_psc_delta_adapt"]:
params_nrn_rec["V_reset"] = -0.5 # mV, reset membrane voltage
params_nrn_rec["c_reg"] = args.c_reg_delta / duration["sequence"] / scale_factor**2
params_nrn_rec["V_th"] = 0.5

####################
Expand Down

0 comments on commit 4574e3f

Please sign in to comment.