Closed halfflat closed 2 years ago
Please add a feature for voltage clamps which allows for arbitrary long sequences of piece-wise constant holding potentials as well.
I think I'll make voltage clamps a new, separate issue!
As part of #1262 work, current stimuli are being moved out of mechanisms. The current WIP implementation supports piece-wise linear stimulus currents defined by an envelope, or a fixed frequency stimulus with an amplitude governed by a piece-wise linear envelope.
Stimuli as mentioned above have been moved library-side in PR #1407 — if the functionality there is insufficient to cover the cases currently implemented in NMODL, we'll have to look at this further.
Time was added as a visible value to NMODL mechanisms in order to incorporate time-dependent current sources. But apart from the impact of #1251, there are a couple of reasons to seek an alternative approach:
I'd prefer that we extend the existing stimulus interface to encompass this use case: