On Sun, 29 Sep 2019 at 23:39, Jeff Anderson <jca1955@...> wrote:
Hi Rune,
Here are a few links regarding s1p/s2p file format.
From Keysight (more of an outline):
Dr. Kirby's Website:
Z and RI format. (image attached)
And Dr. Kirby's examples are in MHZ, and DB format (magnitude in dB,
Angle) (see his website)
Also, if loading s2p files, be aware that they will most likely contain
S22 and S12 data, in addition to S12 and S11 data, so if you were to
support the reading of third-party s2p files (such as the ones I've just
described), the software should recognize (i.e. not crash) when these extra
fields are present.
I don¡¯t know how Rune would do it, but when writing .s2p files without all
4 S-parameters, I set the magnitude to -200 dB for anything not measured.
Then it can be read into ofter software, like simulation software, and the
results be meaningful.
I once wrote a Touchstone file from my LCR meter, but used the impedance
format, rather than the S-parameter format. I tried reading that into the
VNWA, but that could not handle it. Nor can the Agilent PNA-X.
The only free program that could read my file was Sonnet Lite. I don¡¯t know
if that fully supports the Touchstone file format, but it was better than
anything else I tried. I think ADS could read it too, but ADS is lots of
??????.
So if you want to play around with Touchstone files, I would give that a
try.
Anyway, nice features to have, if you can ever find the time!
Best regards,
- Jeff, k6jca
Dave
--
Dr. David Kirkby,
Kirkby Microwave Ltd,
drkirkby@...
Telephone 01621-680100./ +44 1621 680100
Registered in England & Wales, company number 08914892.
Registered office:
Stokes Hall Lodge, Burnham Rd, Althorne, Chelmsford, Essex, CM3 6DT, United
Kingdom