neat.IonChannel.computeLinear

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

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

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

  • float (freqs) – The frequencies [Hz] at which to evaluate the linearized contribution

  • complex – The frequencies [Hz] at which to evaluate the linearized contribution

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

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

Returns

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