If your data has frequency unit GHz and data in real imaginary format, with 50 Ohm reference impedance, this is the header line:
# GHZ S RI R 50.00000
If your data has frequeny unit Hz, use HZ instead of GHZ
If your data is in linear magnitude/angle format, use MA instead of RI
If your data is in dB/angle format, use DB instead of RI
Then, the next lines contain frequency and data pairs (real/imag or magnitude/angle) for S11, S21, S12, S22
Example:
# GHZ S DB R 50.00000
0.10000000 -46.1695 36.997 -0.03647 -0.777 -0.03647 -0.777 -46.1589 37.042
0.20000000 -43.1691 56.855 -0.04224 -1.544 -0.04224 -1.544 -43.1503 56.852
0.40000000 -38.4971 76.044 -0.06115 -3.052 -0.06115 -3.052 -38.4774 75.915
0.60000000 -35.0102 86.291 -0.08887 -4.528 -0.08887 -4.528 -34.9984 86.069
# GHZ S RI R 50.00000
0.10000000 0.003925 0.002958 0.995718 -0.01350 0.995718 -0.01350 0.003928 0.002964
0.20000000 0.003796 0.005813 0.994788 -0.02681 0.994788 -0.02681 0.003805 0.005826
0.40000000 0.002867 0.011538 0.991576 -0.05287 0.991576 -0.05287 0.002900 0.011558
0.60000000 0.001149 0.017725 0.986732 -0.07814 0.986732 -0.07814 0.001219 0.017744
# GHZ S DB R 50.00000
0.10000000 -46.1695 36.997 -0.03647 -0.777 -0.03647 -0.777 -46.1589 37.042
0.20000000 -43.1691 56.855 -0.04224 -1.544 -0.04224 -1.544 -43.1503 56.852
0.40000000 -38.4971 76.044 -0.06115 -3.052 -0.06115 -3.052 -38.4774 75.915
0.60000000 -35.0102 86.291 -0.08887 -4.528 -0.08887 -4.528 -34.9984 86.069
Reference:
**broken link removed**