GreensTree.calcImpedanceMatrix(*args, **kwargs)

Computes the impedance matrix of a given set of locations for each frequency stored in self.freqs.

  • locarg (list of locations or string) – if list of locations, specifies the locations for which the impedance matrix is evaluated, if string, specifies the name under which a set of location is stored

  • explicit_method (bool, optional (default True)) – if False, will use the transitivity property of the impedance matrix to further optimize the computation.


the impedance matrix, first dimension corresponds to the frequency, second and third dimensions contain the impedance matrix [MOhm] at that frequency

Return type

np.ndarray (dtype = self.freqs.dtype, ndim = 3)