-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BBPBGLIB-1059] Integrate Oren's gap junction compensation procedure into neurodamus #195
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
General comment: |
Hi @WeinaJi I think it looks good, but is there a way to test it? |
Very cool, a bit off-topic, but there is also the code that generates the GJs and use them. I'll try to get it on github and we can refer to it. |
Thinking about the time left, I am inclined to merge them in |
Hello @orena1 , can you access our
The config file
An example from my test config file Also cc @PolinaL |
That will be great. Please let me know if you would like to push something in this repo. I can give you the write permission. In fact, I have another version of your script which includes these commented code:
Is it still needed? I can't find the script |
a395192
to
94aad9e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nitpicks, but it might be worth to a wider round of checks for naming and other small inconsistencies. vars starting in upcase remember class variables or constants
This comment has been minimized.
This comment has been minimized.
Logfiles from GitLab pipeline #236165 (:white_check_mark:) have been uploaded here! Status and direct links: |
Hello @orena1, have you managed to test this branch on bb5? Or would you like to add your code in it? |
Hi, sorry for the late response, this file is probably relevant for the process, in general the whole |
Context
Integrate Oren's compensation script for gap junction synapses into the neurodamus main flow. Uses are expected to use predefined parameters in the SONATA simulation config files to configure the correction steps and values. In this PR, those parameters are stored in the experimental "beta_features" section of the SONATA config files. The corresponding formal SONATA parameters are to be determined in the SONATA specifications, the libsonata parser, and the future PR in neurodamus.
Scope
At the
finalize
step forGapJunctionManager
, if users set the rightgapjunction_target_population
, the user corrections defined in the new filegj_user_functions.py
will be triggered. This file is implemented based on Oren's script which was used for Elisabetta's publication (/gpfs/bbp.cscs.ch/project/proj55/software/gap_junctions/pylibs/manager_python.py
). It provides these corrections to be enabled by users via the SONATA simulation config file:"deterministic_stoch"
"gjc"
"remove_channels"
g_pas
to fit thegjc
with values set by the calibration file given in the simulation config file"load_g_pas_file"
"manual_MEComboInfo_file"
"vc_amp"
and meanwhile save the SEClamp DataThose SONATA parameters are chosen based on the setting in Elisabetta's publication
/gpfs/bbp.cscs.ch/project/proj55/iavarone/releases/simulations/spontaneous_evoked/CorrectCTFiberAll_Backgroundwith_afferents_MLNoise25_CTNoise4/MLStim4/MLNoise0/CTNoise0/settings.p
for which corrections 1,2,4,5 were used.Testing
New test
test_v5_gap_junction_corrections
intest/scientific/test_simulation.py
Review