RF Network - One Port
This is an example of a simulation of a Radio Frequency (RF) network with PathSim.
In this example, we are using the block RFNetwork provided in PathSim to create the state-space model of an N-port RF network. This block uses the `scikit-rf
Let's first make all the necessary import
The block RFNetwork takes as input either a `Touchstone file
Under the hood, scikit-rf performs a Vector Fitting of the frequency data and creates a PathSim State-Space model.
In the following, we use a gaussian pulse to simulate the impulse response of the RF block. A spectrum analyzer (Spectrum) is used to display the frequency response of the response. This frequency response is then compared to the original frequency data.
Below, we compare the PathSim's frequency response to the original measurement data and to their Vector Fitted model calculated with scikit-rf. The Vector Fitted model and the PathSim's frequency response are in perfect agreement: