Data format documentation

41 views
Skip to first unread message

Adam Petrus

unread,
Jan 21, 2025, 8:33:35 AMJan 21
to VNA Tools

Section 2.1.1 of your data formats shows the definition of ‘ComplexUncertaintyNumber’ real and imaginary parts as ‘UncNumber’ data type 

Sometime ago, I tried implementing this but looking at the file found it to be [double]. I implemented double and it has worked ever since. I forgot I did this. Recently I have asked Jonny to make a reader for vdatb files. He noticed the difference in my code versus document. Can we check our understanding is right please? 

Michael Wollensack METAS

unread,
Jan 22, 2025, 3:57:46 AMJan 22
to VNA Tools
Both is possible:

- if you try to read raw data (without any uncertainties), it will be binary version 1 and ComplexNumber which is structure of two doubles.
- if you try to read error corrected data (with uncertainties), it will be binary version 1, 2, 3, 4 or 5 depending on the used VNA Tools version. Here the ComplexUncNumber is used. See section 2.1.1.

Hope this helps.

Reply all
Reply to author
Forward
0 new messages