AnsweredAssumed Answered

S2P file header in dB issue

Question asked by raymondkin on Feb 24, 2010
Latest reply on Feb 25, 2010 by raymondkin
I have a remark regarding the header in S2P file we save from the PNA/PNA-X. From All the literature I found on the internet, the header line should state DB if the file is save in dB format. However, the files that Agilent PNA and PNA-X produces a header with lowercase "d".

The literature I found are on : ... k04a8.html
For .s2p files:

[R n]

Legal values are:
DB for dB-angle (dB = 20*log10|magnitude|)
MA for magnitude-angle,
RI for real-imaginary.


view topic

RI = Real / Imaginary
DB = Log Mag / Phase
MA = Lin Mag / Phase


Here is the header produced with a Agilent E8361A PNA :


!Agilent Technologies,E8361A,US43140691,A.04.87.01
!Agilent E8361A: A.04.87.01
!Date: Friday, November 06, 2009 11:33:36
!Correction: S11(Full 2 Port SOLT,1,2) S21(Full 2 Port SOLT,1,2) S12(Full 2 Port SOLT,1,2) S22(Full 2 Port SOLT,1,2)
!S2P File: Measurements: S11, S21, S12, S22:
# Hz S  dB   R 50


We fixed our software to be compatible with PNA's generated S2P files, but I hope the next PNA firmware should follow Touchtone file format specifications.

Raymond Kin
Focus Microwaves Inc.