skrf.network.overlap

skrf.network.overlap(ntwkA, ntwkB)[source]

Returns the overlapping parts of two Networks, interpolating if needed.

If frequency vectors for each ntwk don’t perfectly overlap, then ntwkB is interpolated so that the resultant networks have identical frequencies.

Parameters:
  • ntwkA (Network) – a ntwk which overlaps ntwkB. (the dominant network)
  • ntwkB (Network) – a ntwk which overlaps ntwkA.
Returns:

  • ntwkA_new (Network) – part of ntwkA that overlapped ntwkB
  • ntwkB_new (Network) – part of ntwkB that overlapped ntwkA, possibly interpolated