-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add STDP synapse unit testing #1840
Merged
Merged
Changes from 12 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
96f881a
add STDP synapse unit testing
e3ac12a
Merge remote-tracking branch 'upstream/master' into test-stdp-synapse
75f3a4b
allow weight_recorder to record precise spike times
c8547d3
allow STDP synapse to use precise spike times
af21d05
fix STDP synapse unit test
a495dfe
pycodestyle formatting changes
791bff0
Merge remote-tracking branch 'upstream/master' into test-stdp-synapse
a27b55c
fix test conditions and add plots to test_stdp_multiplicity
305e82c
fix Python code formatting
ff08892
clean up code in unit test (#1840)
b718ca5
fix intermittent failure in test_visualisation.py
b6cfcee
close matplotlib figures after saving them to file
4425620
Merge remote-tracking branch 'upstream/master' into test-stdp-synapse
c878c9c
clean up STDP multiplicity test
9c1cfa9
Merge remote-tracking branch 'upstream/master' into test-stdp-synapse
fb9228d
move synaptic plasticity precise spike timing feature to #2035
b4921bb
refactor/clean up stdp synapse unit test
ae9f481
refactor/clean up stdp synapse unit testing
7fb3e2d
fix pycodestyle
ae60892
Merge remote-tracking branch 'upstream/master' into test-stdp-synapse
f4182fd
clean up unit tests following unittest/pytest migration
14ad08c
fix pycodestyle
c03797e
clean up unit tests following unittest/pytest migration
7c7d949
clean up based on review comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clinssen This change makes me wonder if we have the same error in other synapse models as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it does:
nest-simulator/models/clopath_synapse.h
Line 215 in 720f4c5
nest-simulator/models/ht_synapse.h
Line 189 in 720f4c5
nest-simulator/models/jonke_synapse.h
Line 300 in 720f4c5
nest-simulator/models/quantal_stp_synapse.h
Line 195 in 720f4c5
nest-simulator/models/stdp_dopamine_synapse.h
Line 529 in 720f4c5
nest-simulator/models/stdp_nn_pre_centered_synapse.h
Line 235 in 720f4c5
nest-simulator/models/stdp_nn_restr_synapse.h
Line 229 in 720f4c5
nest-simulator/models/stdp_nn_symm_synapse.h
Line 231 in 720f4c5
nest-simulator/models/stdp_pl_synapse_hom.h
Line 244 in 720f4c5
nest-simulator/models/stdp_synapse_hom.h
Line 281 in 720f4c5
nest-simulator/models/stdp_triplet_synapse.h
Line 243 in 720f4c5
nest-simulator/models/tsodyks2_synapse.h
Line 209 in 720f4c5
nest-simulator/models/tsodyks_synapse_hom.h
Line 256 in 720f4c5
nest-simulator/models/urbanczik_synapse.h
Line 207 in 720f4c5
nest-simulator/models/vogels_sprekeler_synapse.h
Line 198 in 720f4c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clinssen So this means that until now, we have not taken spike time offsets into account in plasticity mechanisms, doesn't it? It does not have any effect on the actual timing of the spike transmitted, since the offset information is passed on to the receiving neuron in the Event object. Could you create a follow-up issue for this? We should involve @abigailm in the discussion.