skrf.circuit.Circuit.X¶
- property Circuit.X: numpy.ndarray¶
Return the concatenated intersection matrix [X] of the circuit.
It is composed of the individual intersection matrices [X]_k assembled by block diagonal.
- Returns
X
- Return type
numpy.ndarray
Note
There is a numerical bottleneck in this function, when creating the block diagonal matrice [X] from the [X]_k matrices. The difficulty comes from the fact that the shape of each [X]_k matrix is fxnxn, so there is a loop over the frequencies to create f times a block matrix [X]. I am still looking for a vectorized implementation but didn’t find it.