SOVTree.calcImpedanceMatrix(locarg=None, sov_data=None, name=None, eps=0.0001, mem_limit=500, freqs=None)[source]

Compute the impedance matrix for a set of locations

  • locarg (None or list of locations) –

  • sov_data (None or tuple of mode matrices) – One of the keyword arguments locarg or sov_data must not be None. If locarg is not None, the importance is evaluated at these locations (see neat.MorphTree._parseLocArg()). If sov_data is not None, it is a tuple of a vector of the reciprocals of the mode timescales and a matrix with the corresponding spatial mode functions.

  • eps (float) – the cutoff threshold in relative importance below which modes are truncated

  • mem_limit (int) – parameter governs whether the fast (but memory intense) method or the slow method is used

  • freqs (np.ndarray of complex or None (default)) – if None, returns the steady state impedance matrix, if a array of complex numbers, returns the impedance matrix for each Fourrier frequency in the array


the impedance matrix, steady state if freqs is None, the frequency dependent impedance matrix if freqs is given, with the frequency dependence at the first dimension [MOhm ]

Return type

np.ndarray of floats (ndim = 2 or 3)