cascade_s
- cascade_s(Smats, z0s, method='redheffer', eps=1e-12)[source]
Cascades multiple S-parameter networks together.
This is the most efficient function to use for cascading S-parameter networks together.
Currently only the 2N port case is supported, in which case Redheffer’s star product is used. Also, currently, all matrices must have the same S-parameter definition and characteristic impedance.
- Parameters:
Smats (NumberLike) – A sequence of S-parameter matrices for the component networks. The array must have shape (N x F x m x m) representing N networks to be cascaded sequential at F frequencies, each with ports (m, m).
z0s (NumberLike) – A sequence of characteristic impedances (z0) for the component networks. Must be a float, or N arrays each broadcastable to (N x F x m).
- Returns:
The resulting S-parameter matrix of the cascaded system.
- Return type:
jnp.ndarray