neat.GreensTreeTime.calc_channel_response_t

GreensTreeTime.calc_channel_response_t(*args, **kwargs)

Compute linearized ion channel state variable responses in the time domain at loc2 to a delta current pulse input at loc1.

Evaluated time-points are the ones in self.ft.t (the input times provided to set_impedance()).

Parameters:
  • loc1 (Tuple(int, float) or neat.MorphLoc) – the location of the delta input current pulse

  • loc2 (Tuple(int, float) or neat.MorphLoc) – location of the ion channel response

  • method (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 at loc2 to the delta current pulse input. Can be accessed as: [channel_name][statevar_name][time]

Return type:

dict of dict of np.ndarray