nanovna-v2 / NanoVNA-QT

PC GUI software for NanoVNA V2
https://nanorfe.com/nanovna-v2.html
GNU General Public License v2.0
245 stars 55 forks source link

Frequency resolution of impedance output #11

Closed ahhuhtal closed 4 years ago

ahhuhtal commented 4 years ago

When exporting measurement data using S parameters -> Export impedances (csv), the frequency of the measurement points is given with 3 digits after the decimal point. For a high number of measurement points in a narrow frequency band this easily results in the same frequency string being repeated with differing measurement data.

This should be made either dynamic, so that the frequency resolution exceeds the bin separation (say 10-fold) or to use a fixed resolution which is related to the hardware limits.

(Can't attach a .CSV, copy-paste follows)

Freq (MHz),re(S11),im(S11),re(Z),im(Z) 7.320,0.99594,-0.01633,1383.430,-5768.385 7.320,0.99614,-0.01620,1339.822,-5840.816 7.320,0.99557,-0.01586,1582.586,-5847.753 7.320,0.99575,-0.01596,1508.717,-5851.107 7.320,0.99548,-0.01567,1648.177,-5892.921 7.320,0.99580,-0.01620,1448.560,-5783.360 7.320,0.99608,-0.01622,1356.580,-5825.956 7.321,0.99511,-0.01611,1673.485,-5683.610 7.321,0.99491,-0.01651,1655.757,-5532.753 7.321,0.99628,-0.01654,1245.260,-5754.509 7.321,0.99499,-0.01612,1708.135,-5655.828 7.321,0.99587,-0.01638,1396.744,-5741.910 7.321,0.99530,-0.01593,1652.681,-5775.072 7.321,0.99645,-0.01626,1231.911,-5869.202 7.321,0.99461,-0.01566,1914.166,-5711.095 7.321,0.99592,-0.01604,1441.121,-5855.443 7.321,0.99436,-0.01611,1885.340,-5529.346 7.321,0.99643,-0.01648,1204.373,-5796.535 7.321,0.99510,-0.01634,1634.158,-5613.977 7.321,0.99597,-0.01627,1384.043,-5789.489 7.322,0.99589,-0.01666,1346.099,-5656.323 7.322,0.99655,-0.01622,1203.202,-5897.803 7.322,0.99558,-0.01575,1600.079,-5884.776 7.322,0.99543,-0.01576,1646.685,-5853.045 7.322,0.99561,-0.01636,1481.455,-5702.593 7.322,0.99457,-0.01601,1850.140,-5600.762 7.322,0.99501,-0.01621,1685.588,-5633.329 7.322,0.99493,-0.01643,1663.426,-5557.309 7.322,0.99637,-0.01664,1201.107,-5737.480 7.322,0.99504,-0.01628,1662.506,-5618.932 7.322,0.99670,-0.01619,1156.712,-5929.848 7.322,0.99504,-0.01609,1700.811,-5677.006 ...