-
Notifications
You must be signed in to change notification settings - Fork 52
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
GUI: Add E/I synaptic gains button #915
Comments
@dylansdaniels For the zero-ing out of the L2/3 synapses in the Gamma tutorial (near Fig 7 of https://jonescompneurolab.github.io/hnn-tutorials/gamma/gamma ), it may be fine for Thursday if the weights are changed manually. I think in the instance in the example, they would only need to change the outgoing L2/3 Pyramidal weights to 0, which is only about 15 clicks (shown below, they don't need to adjust the inhibitory weights). I suggest this because the current |
Makes sense! For class, I may make a separate config to load in with the weights set as such, just to save the clicks and speed things along. For updating the tutorial for now, maybe I sidestep this issue and just note that the weights will need to be changed to 0, and later we can add in language for the GUI buttons? @asoplata |
(Note that by "celltype", I mean one of {L2_basket, L2_pyramidal, L5_basket, L5_pyramidal}). In thinking about this, there are several "levels" at which one would want to edit synaptic gain:
Does anyone else have opinions about how to add synaptic gains to the GUI? |
Task 4 of #910
hnn_core/network:Network.update_weights()
(https://github.com/jonescompneurolab/hnn-core/blob/master/hnn_core/network.py#L1430 ) currently applies universally across all subsets of
{Excitatory, Inhibitory} -> {Excitatory, Inhibitory}
. If we assume that most users are going to want to universally increase the gain of a particular synapse connection, this means that both theNetwork > Connectivity
orNetwork > Cell parameters
VBoxes are not good places to add this. In the Connectivity case, a user would have to add the gain to every type of connection, which is annoying and time-consuming. In the Cell parameters case, we cannot select all Excitatory connections to update, whichupdate_weights()
currently requires.For the sake of the tutorial, I think this should be solved in three steps:
Network > Universal synaptic gain
with 4 adjustable values: the 4 combinations thatupdate_weights()
supports.update_weights()
so that you can add a unitless gain modifier to connections the "lowest" level of the hierarchy.Network > Connectivity
vbox to customize these per every connection, if the user wants: e.g. add a gain box toL2_pyramidal -> L5_basket (soma)
and similar.cell_type
synaptic gain entries inNetwork > Cell parameters
vboxThe text was updated successfully, but these errors were encountered: