Skip to content

Introduce unit postsynaptic response constant to clean up expressions in models#1349

Merged
clinssen merged 10 commits intonest:mainfrom
clinssen:unit_psr
Apr 8, 2026
Merged

Introduce unit postsynaptic response constant to clean up expressions in models#1349
clinssen merged 10 commits intonest:mainfrom
clinssen:unit_psr

Conversation

@clinssen
Copy link
Copy Markdown
Contributor

@clinssen clinssen commented Mar 27, 2026

Spun off from #1299.

Should be merged after #1350.

Clean up postsynaptic response expressions: instead of multiplying by physical units, like "... * pA", instead define a constant postsynaptic response current/voltage/conductance, e.g. "unit_psc", and multiply by this constant instead.

Also removed some irrelevant comments from the model docstrings, e.g. related to numerics, which do not belong in the model documentation but concern implementation details.

@clinssen clinssen requested a review from pnbabu March 27, 2026 12:15
@clinssen clinssen marked this pull request as draft March 27, 2026 12:58
@clinssen clinssen marked this pull request as ready for review April 3, 2026 19:51
Copy link
Copy Markdown
Contributor

@pnbabu pnbabu left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@clinssen
Copy link
Copy Markdown
Contributor Author

clinssen commented Apr 8, 2026

Thank you for the review!

@clinssen clinssen merged commit 5503a02 into nest:main Apr 8, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants