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 f51cff3 commit 175940b
Showing 1 changed file with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ class MyTimingDependence(AbstractTimingDependence):
"_a_minus",
"_a_plus",
"_my_depression_parameter",
"_my_potentiation_parameter",
"_synapse_structure"]
"_my_potentiation_parameter",]

NUM_PARAMETERS = 2

Expand All @@ -31,13 +30,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
self._a_minus = A_minus
Expand Down Expand Up @@ -118,12 +117,6 @@ def write_parameters(
def get_parameter_names(self) -> List[str]:
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 175940b

Please sign in to comment.