neat.IonChannel.compute_lin_sum¶
- IonChannel.compute_lin_sum(v, freqs, e=None, **kwargs)[source]¶
Combute the linearized channel current contribution (without concentributions from the concentration - see compute_lin_conc())
- Parameters:
v (float or np.ndarray) – The voltage
[mV]at which to evaluate the open probabilityfreqs (float, complex, or np.ndarray of float or complex:) – The frequencies
[Hz]at which to evaluate the linearized contributione (float or None) – The reversal potential of the channel. Defaults to the value stored in self.default_params[‘e’] if not provided.
**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