Skip to content
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

Test iaf ps psp accuracy (sli2py) #2873

Merged
merged 10 commits into from
Aug 10, 2023

Conversation

janskaar
Copy link
Contributor

@janskaar janskaar commented Aug 8, 2023

No description provided.

Copy link
Contributor

@heplesser heplesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@janskaar Good job in deciphering pretty confusing SLI code. I added a few suggestions for even sleeker Python code.

testsuite/pytests/test_iaf_ps_psp_accuracy.py Outdated Show resolved Hide resolved
testsuite/pytests/test_iaf_ps_psp_accuracy.py Show resolved Hide resolved
testsuite/pytests/test_iaf_ps_psp_accuracy.py Outdated Show resolved Hide resolved
testsuite/pytests/test_iaf_ps_psp_accuracy.py Outdated Show resolved Hide resolved
testsuite/pytests/test_iaf_ps_psp_accuracy.py Outdated Show resolved Hide resolved
testsuite/pytests/test_iaf_ps_psp_accuracy.py Outdated Show resolved Hide resolved
testsuite/pytests/test_iaf_ps_psp_accuracy.py Outdated Show resolved Hide resolved
Copy link
Contributor

@heplesser heplesser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better :)! I added two more suggestions. Adding the extra check with grid-based neuron I think rather confuses the test—it is about precise timing. I suggest to take that out again. If you want to tighten the test, I would make more sense to check V_m at several points in time, e.g., the last time step when the effect of the spike is not felt, the first where it should be felt, around the maximum and somewhere in the tail.

testsuite/pytests/test_iaf_ps_psp_accuracy.py Outdated Show resolved Hide resolved
testsuite/pytests/test_iaf_ps_psp_accuracy.py Outdated Show resolved Hide resolved
@heplesser heplesser merged commit 6ee813f into nest:master Aug 10, 2023
20 checks passed
@terhorstd terhorstd added S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation. I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Aug 14, 2023
@terhorstd terhorstd changed the title Test iaf ps psp accuracy sli2py Test iaf ps psp accuracy (sli2py) Aug 14, 2023
@janskaar janskaar deleted the test_iaf_ps_psp_accuracy_sli2py branch February 6, 2024 13:21
@janskaar janskaar restored the test_iaf_ps_psp_accuracy_sli2py branch February 6, 2024 13:22
@janskaar janskaar deleted the test_iaf_ps_psp_accuracy_sli2py branch February 6, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Maintenance Work to keep up the quality of the code and documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants