neat.GreensTreeTime.calc_channel_response_matrix¶
- GreensTreeTime.calc_channel_response_matrix(loc_arg, compute_time_derivative=False)[source]¶
Compute linearized ion channel state variable response matrix at all locations in loc_arg to delta current pulse inputs at each of those loctions.
Evaluated time-points are the ones in self.ft.t (the input times provided to set_impedance()).
Note that the matrix is returned as a list of nested dictionaries.
- Parameters:
loc_arg (list of locations or string) – if list of locations, specifies the locations for which the ion channel responses are evaluated, if
string, specifies the name under which a set of location is storedmethod (str ("", "exp fit", "quadrature")) – The method to use when computing the kernels. “quadrature” for explicit integration of the inverse Fourrier integral, “exp fit” for a frequency domain fit with the Fourrier transforms of time domain exponentials, or “” choses the most appropriate method based on the case
compute_time_derivative (bool) – if
True, also returns the time derivatives of the kernels
- Returns:
The linearized responses of all channels to current pulse input, can be accessed as [output loc index][channel name][statevar name][time, input loc index]
- Return type:
List of dict of dict of np.ndarray