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

[BBPBGLIB-762] The ability to update single cell features mid simulation #204

Open
WeinaJi opened this issue Oct 22, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@WeinaJi
Copy link
Collaborator

WeinaJi commented Oct 22, 2024

This is a duplicate of the JIRA ticket BBPBGLIB-762.

In the case of thalamus simulations, it is very interesting to see the transition from a wake-like to a sleep-like state, which in part amounts to increasing potassium leak conductance (e.g. from 0.5gk_leak to 1.5gk_leak) during a simulation.

Current solution working for both NEURON and CORENEURON:
We will implement a new parameter "delay" in the "modifications" section under "conditions". An example to update the "gk_leak" of a certain mechanism(TC_??) will be like:

"conditions": {
    "v_init": -65,
    "randomize_gaba_rise_time": true,
    "modifications": [
       {
            "name": "gk_leak_t15",
             "node_set": "small",
            "type": "ConfigureAllSections",
            "section_configure": "%s.gk_leak_TC_?? *= 0.5"
        },
        {
            "name": "gk_max_t20",
            "node_set": "small",
            "type": "ConfigureAllSections",
            "section_configure": "%s.gk_leak_TC_?? *= 2",
            "delay" : 20
        }
     ]
}
@WeinaJi WeinaJi added the enhancement New feature or request label Oct 22, 2024
@WeinaJi WeinaJi linked a pull request Oct 22, 2024 that will close this issue
4 tasks
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

1 participant