IonChannel.computeLinearConc(v, freqs, ion, **kwargs)[source]

Combute the contributions of the state variables to the linearized channel current

  • v (float or np.ndarray) – The voltage [mV] at which to evaluate the open probability

  • freqs (float, complex, or np.ndarray of float or complex:) – The frequencies [Hz] at which to evaluate the linearized contribution

  • ion (str) – The ion name for which to compute the linearized contribution

  • **kwargs – Optional values for the state variables and concentrations. Broadcastable to v if provided


The linearized current. Shape is dimension of freqs followed by the dimensions of v.

Return type

float, complex or np.ndarray of float or complex