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

Make pointing synapse groups at additional input variables easier #451

Closed
neworderofjamie opened this issue Aug 23, 2021 · 0 comments · Fixed by #458
Closed

Make pointing synapse groups at additional input variables easier #451

neworderofjamie opened this issue Aug 23, 2021 · 0 comments · Fixed by #458

Comments

@neworderofjamie
Copy link
Contributor

Currently you need to define a new postsynaptic model for each additional input variable i.e. you should be able to use a standard "DeltaCurr" rather than having to define:

feedback_psm_model = genn_model.create_custom_postsynaptic_class(
    "feedback_psm",
    apply_input_code="""
    $(ISynFeedback) += $(inSyn);
    $(inSyn) = 0;
    """)

It would be much nicer if the output variable of the apply input code was just a symbol and you could just call a method on the synapse group to set which variable it targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant