neat.IonChannel.computeDerivatives

IonChannel.computeDerivatives(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 – Optional values for the state variables and concentrations. Broadcastable to v if provided

Returns

The derivatives

Return type

tuple of three floats or three `np.ndarray`s of float