Skip to content

Commit

Permalink
use supers synapse_structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 2, 2024
1 parent 828a7da commit 19db698
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class MyTimingDependence(AbstractTimingDependence):
"_a_minus",
"_a_plus",
"_my_depression_parameter",
"_my_potentiation_parameter",
"_synapse_structure"]
"_my_potentiation_parameter"]

NUM_PARAMETERS = 2

Expand All @@ -27,12 +26,13 @@ def __init__(

A_plus=0.01, A_minus=0.01):

# TODO: Update to match the synapse structure in the C code
super().__init__(SynapseStructureWeightOnly())

# TODO: Store any parameters
self._my_potentiation_parameter = my_potentiation_parameter
self._my_depression_parameter = my_depression_parameter

# TODO: Update to match the synapse structure in the C code
self._synapse_structure = SynapseStructureWeightOnly()

# Are these in the c code?
self._a_plus = A_plus
Expand Down Expand Up @@ -113,12 +113,6 @@ def write_parameters(
def get_parameter_names(self):
return ['my_potentiation_parameter', 'my_depression_parameter']

@property
def synaptic_structure(self):
""" Get the synaptic structure of the plastic part of the rows
"""
return self._synapse_structure

@property
def A_plus(self):
return self._a_plus
Expand Down

0 comments on commit 19db698

Please sign in to comment.