neat.GreensTreeTime.calc_impulse_response_matrix

GreensTreeTime.calc_impulse_response_matrix(*args, **kwargs)

Computes the matrix of impulse response kernels at a given set of locations for all time-points defined in self.ft.t (the input times provided to set_impedance()).

Parameters:
  • loc_arg (list of locations or string) – if list of locations, specifies the locations for which the impulse response kernels are evaluated, if string, specifies the name under which a set of location is stored

  • 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 matrix of impulse responses, first dimension corresponds to the time axis, second and third dimensions contain the impulse response in [MOhm/ms] at that time point

Return type:

np.ndarray (ndim = 3)