Elevating Channel Currents to First-Class States #412
huangziwei
started this conversation in
Ideas
Replies: 1 comment
-
attempted a few times but can't make it works. probably need to refactor |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, channel currents are not considered "first-class" states. By this, I mean that channel currents are not included in the
.nodes
like other states when the channel is inserted into the compartment. Only later, during integration, are the currents added toall_states
throughget_all_states
, which allows us to record them along with other states. Not being first-class states means that a specific channel current cannot be clamped.Well, to be honest, I don't really have a use case for this, though. It's just fun to think that one could do a current clamp on specific channels instead of the overall current clamp with
stimulate()
.Beta Was this translation helpful? Give feedback.
All reactions