You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is an excerpt of the relevant array manipulations:
# reshape data according to VNAports=len(self.s_parameter_group)
points=self.pointsoriginal_shape= (ports, ports, points)
original_array=numpy.reshape(result, original_shape)
# switch axes to match scikit-rf [s] syntaxdesired_array=numpy.swapaxes(original_array, 1, 2)
desired_array=numpy.swapaxes(desired_array, 0, 1)
The text was updated successfully, but these errors were encountered:
The VNA returns S-Parameter data in this order:
S11(f1), S11(f2), S11(f3)... S12(f1), S12(f2), ...
In the
Channel.read_s_parameter_group
method, this data is reshaped intoshape=(points, ports, ports)
, which mixes up everything.See https://github.com/Terrabits/save_all_s4p/blob/main/save_all_s4p/vna_monkeypatch/read_s_parameter_group.py for a potential solution.
Here is an excerpt of the relevant array manipulations:
The text was updated successfully, but these errors were encountered: