neat.IonChannel.compute_linear¶
- IonChannel.compute_linear(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 probabilityfloat (freqs) – The frequencies
[Hz]at which to evaluate the linearized contributioncomplex (or np.ndarray of float or) – The frequencies
[Hz]at which to evaluate the linearized contributioncomplex – The frequencies
[Hz]at which to evaluate the linearized contribution**kwargs (float or np.ndarray) – Optional values for the state variables and concentrations.
- 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