From 4574e3f98d03f8b4b16d7d2d441207d85c5d4a0e Mon Sep 17 00:00:00 2001 From: JesusEV Date: Wed, 9 Oct 2024 17:35:53 +0200 Subject: [PATCH] Remove obsolete code * Remove lines that made sense when irregular spike arrival was supported --- .../eprop_supervised_classification_neuromorphic_mnist.py | 1 - .../eprop_plasticity/eprop_supervised_regression_sine-waves.py | 1 - 2 files changed, 2 deletions(-) diff --git a/pynest/examples/eprop_plasticity/eprop_supervised_classification_neuromorphic_mnist.py b/pynest/examples/eprop_plasticity/eprop_supervised_classification_neuromorphic_mnist.py index ab13f4a85b0..c225b1393c7 100644 --- a/pynest/examples/eprop_plasticity/eprop_supervised_classification_neuromorphic_mnist.py +++ b/pynest/examples/eprop_plasticity/eprop_supervised_classification_neuromorphic_mnist.py @@ -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 #################### diff --git a/pynest/examples/eprop_plasticity/eprop_supervised_regression_sine-waves.py b/pynest/examples/eprop_plasticity/eprop_supervised_regression_sine-waves.py index 241d1a62f35..66c1463da39 100644 --- a/pynest/examples/eprop_plasticity/eprop_supervised_regression_sine-waves.py +++ b/pynest/examples/eprop_plasticity/eprop_supervised_regression_sine-waves.py @@ -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 ####################