This script will smooth a user selected 2 port sparameter file loaded in the project. When run the dialog below will open. The controls are:

Script will create a new data file with smoothed data. The new name is will be the original name with "_smooth" added to end.

Below is an example of a .s2p file before and after smoothing.