Hi,
I have done a near-field measurement. The Antenna Under Test was swept over an area (X and Y are swept). I would like to get the data in a text or dat file. I have started with your template but I don't know how to write this data to a file with a script. The data is a vector. I only need S21 over the sweeping area, but I did not know how to access to S21 from the whole s-parameters. I would also appreciate your help if you could give me a simple set of examples to make me familiar with this programming and understanding how the data is prepared.
Another question I had is that I was wondering if it is possible to directly read the output data (*.out) using MATLAB.
-- To get started try the following script:
names = pf.SParameter.GetNames()
printlist(names)
custom1 = pf.SParameter.GetDataSet(names[2])
print(custom1)
return custom1
Regards,
Mohammad