scikit-rf icon indicating copy to clipboard operation
scikit-rf copied to clipboard

vna.py: log sweeps with PNA

Open AntonGut opened this issue 11 years ago • 1 comments

Similar to https://github.com/scikit-rf/scikit-rf/issues/15 for different hardware.

In PNA class frequency vector gets generated using f_start/f_stop/f_npoints, which assumes linear sweep. For log sweeps frequency vector will be wrong.

No fix from me just yet since I don't need log sweep ATM.

An idea for implementation: use first column from CALCulate:DATA:SNP:PORTs? reply, possibly inside get_data_snp()

AntonGut avatar May 20 '14 11:05 AntonGut

For generating log spaced steps numpy.geomspace — NumPy v1.12 Manual

numpy.geomspace(start, stop, num=50, endpoint=True, dtype=None)

DavidLutton avatar May 21 '17 20:05 DavidLutton