neat.IonChannel.compute_derivatives¶
- IonChannel.compute_derivatives(v, **kwargs)[source]¶
Compute: (i) the derivatives of the open probability to the state variables (ii) The derivatives of state functions to the voltage (iii) The derivatives of state functions to the state variables
- Parameters:
v (float or np.ndarray) – The voltage at which to evaluate the open probability
**kwargs (float or np.ndarray) – Optional values for the state variables and concentrations.
- Returns:
The derivatives
- Return type:
tuple of three floats or three `np.ndarray`s of float