skrf.vi.vna.PNA.set_frequency_sweep

PNA.set_frequency_sweep(f_start, f_stop, f_npoints, **kwargs)[source]

Set the frequency sweep parameters on the specified or active channel

Parameters:
  • start_freq (float) – the starting frequency in f_units (Hz, GHz, etc.)
  • stop_freq (float) – the ending frequency in f_units (Hz, GHz, etc.)
  • num_points (int) – the number of points in the frequency sweep
  • kwargs (dict) – channel (int), f_units (str), sweep_type (str -> lin, log), other optional parameters