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

API for setting individual synaptic parameters #336

Closed
kyralianaka opened this issue Apr 12, 2024 · 3 comments
Closed

API for setting individual synaptic parameters #336

kyralianaka opened this issue Apr 12, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@kyralianaka
Copy link
Contributor

Currently @Matthijspals and I index into network.edges to change individual synaptic parameters like gS and k_minus, but it would be cool to make this part of the API so that one could just specify the pre and post cell (and I guess the synapse type in case there are multiple synapse types between the pre and post cell), the parameter and to what it should be set to.

One can currently do this for a certain parameter of all the synapses of that type, and maybe one can give array input also to adjust things individually (not sure, will have to test this more thoroughly), but it might be nice to expand on this.

@kyralianaka kyralianaka added the enhancement New feature or request label Apr 12, 2024
@michaeldeistler
Copy link
Contributor

I agree that would be useful. You can also do net.IonotropicSynapse([0, 2, 4]).set("...", ...) but using pre and post indices would surely be better.

@michaeldeistler
Copy link
Contributor

This is also related to #264

@michaeldeistler
Copy link
Contributor

This is enabled by #447

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants