skrf.vi.sa.HP8500.get_ntwk

HP8500.get_ntwk(trace='a', goto_local=False, *args, **kwargs)[source]

Get a trace and return the data in a Network format

This will save instrument stage to reg 1, activate single sweep mode, sweep, save data, then recal state from reg 1.

Returning the data in a the form of a Network allows all the plotting methods and IO functions of that class to be used. Not all the methods of Network make sense for this type of data (scalar), but we assume the user knows this.

Parameters
  • trace (['a', 'b']) – save trace ‘a’ or trace ‘b’

  • goto_local (Boolean) – Go to local mode after taking a sweep

  • *args – passed to __init__()

  • **kwargs – passed to __init__()