neat.CompartmentFitter.plot_kernels

CompartmentFitter.plot_kernels(fit_arg, alphas=None, phimat=None, t_arr=None)[source]

Plots the impedance kernels. The kernel at the position i,j represents the transfer impedance kernel between compartments i and j.

Parameters:
  • fit_arg (see docstring of CompartmentFitter.convert_fit_args()) – Specifying the compartmentree for which the kernels have to be plotted.

  • alphas (np.array) – The exponential coefficients, as follows from the SOV expansion

  • phimat (np.ndarray (dim=2)) – The matrix to compute the exponential prefactors, as follows from the SOV expansion

  • t_arr (np.array) – The time-points at which the to be plotted kernels are evaluated. Default is np.linspace(0.,200.,int(1e3))