skrf.vi.vna.PNA¶

class skrf.vi.vna.PNA(address='GPIB::16::INSTR', **kwargs)[source]

Class for modern Keysight/Agilent Peformance Network Analyzers

Attributes

 DEFAULT_VISA_ADDRESS NAME NCHANNELS NPORTS SCPI_VERSION_TESTED active_channel echo idn ntraces Get the number of traces on the active channel

Methods

 __init__ initialization of PNA Class close create_meas Create a new measurement trace on the analyzer display_trace Display measurement name on the analyzer display window get_active_trace_as_network get the active trace as a network object get_frequency get an skrf.Frequency object for the current channel get_list_of_traces a catalogue of the available data traces get_meas_list Convenience function to return a nicely arranged list of the measurement, parameter catalogue get_measurement get a measurement trace from the analyzer, specified by either name or number get_oneport convenience wrapper for get_snp_network enforcing 1-port only get_snp_network return n-port network as an Network object get_switch_terms create new traces for the switch terms and return as a 2-length list of forward and reverse terms get_traces retrieve traces as 1-port networks from a list returned by get_list_of_traces get_twoport convenience wrapper for get_snp_network enforcing 2-ports only reset set_frequency_sweep Set the frequency sweep parameters on the specified or active channel sweep Initialize a fresh sweep of data on the specified channels to_hz A simple convenience function to create frequency in Hz if it is in a different unit upload_twoport_calibration upload a calibration to the vna, and set correction on all measurements use_ascii use_binary setup the analyzer to transfer in binary which is faster, especially for large datasets wait_until_finished