neat.IonChannel.compute_linear_conc

IonChannel.compute_linear_conc(v, freqs, ion, **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

  • 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 (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