neat.GreensTreeTime.calc_zt

GreensTreeTime.calc_zt(*args, **kwargs)

Computes the impulse response kernel between two locations for all time points in self.ft.t (the input times provided to set_impedance()).

Parameters:
  • loc1 (dict, tuple or :class:MorphLoc) – One of two locations between which the transfer impedance is computed

  • loc2 (dict, tuple or :class:MorphLoc) – One of two locations between which the transfer impedance is computed

  • method (str ("", "exp fit", "quadrature")) – The method to use when computing the kernel. “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 kernel

Returns:

The transfer impedance [MOhm] as a function of frequency

Return type:

nd.ndarray (dtype = complex, ndim = 1)