¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Writing nanovna results to csv file #nanovna-saver


 

On 9/13/20 5:23 PM, WB2UAQ wrote:
I have been saving s1p and s2p files from Saver and then re-save them as .txt files. In Excel I import external data in the .txt format and delimit using spaces. This works well for using S21 Thru and S21 Shunt methods for calculating low impedances and high impedances. Having a great time with this little NanoVNA. BTW, when I was involved with hp network analyzers never heard the term VNA for them as it was assumed they could measure the amplitude and phase. They were referred to as network analyzers. Or scaler network analyzers for those that could not determine phase relationships (they used diode detectors only).
\
Well, Keysight (nee Agilent, nee HP) also has PNAs and XNAs these days, too <grin>

There are VNAs that use only diode detectors (look up 6-port analyzer) - they work sort of like the 3 meter technique for measuring impedance.


For what it's worth, there are libraries in Python to read "touchstone" files (i.e. s1p, s2p, etc.).




scikit-rf (aka skrf) is an Open Source, BSD-licensed package for RF/Microwave engineering implemented in the Python programming language. It provides a modern, object-oriented library which is both flexible and scalable. The documentation below is broken up into three sections; narrative tutorials, practical examples, and a reference API.


Does Smith Charts, complex plane, and various and sundry variable vs frequency plots.

And it can do transformations among types of networks (S,T, Y, Z, etc.)


It also does VNA calibration (12 term, 8 term, etc.) and things like arbitrary N-ports, cascades, and de-embedding.

Join [email protected] to automatically receive all group messages.