# Agilent 8722ES Vector Network Analyzer

class pymeasure.instruments.agilent.Agilent8722ES(adapter, name='Agilent 8722ES Vector Network Analyzer', **kwargs)

  Bases: `SCPIUnknownMixin`, `Instrument`

  Represents the Agilent8722ES Vector Network Analyzer and provides a high-level interface for taking scans of the scattering parameters.

  property averages

    An integer representing the number of averages to take. Note that averaging must be enabled for this to take effect. This property can be set.

  property averaging_enabled

    A bool that indicates whether or not averaging is enabled. This property can be set.

  property data

    Returns the real and imaginary data from the last scan

  property data_complex

    Returns the complex power from the last scan

  property data_log_magnitude

    Returns the absolute magnitude values in dB from the last scan

  property data_magnitude

    Returns the absolute magnitude values from the last scan

  property data_phase

    Returns the phase in degrees from the last scan

  disable_averaging()

    Disables averaging

  enable_averaging()

    Enables averaging

  property frequencies

    Returns a list of frequencies from the last scan

  is_averaging()

    Returns True if averaging is enabled

  log_magnitude(real, imaginary)

    Returns the magnitude in dB from a real and imaginary number or numpy arrays

  magnitude(real, imaginary)

    Returns the magnitude from a real and imaginary number or numpy arrays

  phase(real, imaginary)

    Returns the phase in degrees from a real and imaginary number or numpy arrays

  scan(averages=None, blocking=None, timeout=None, delay=None)

    Initiates a scan with the number of averages specified and blocks until the operation is complete.

  scan_continuous()

    Initiates a continuous scan

  property scan_points

    Gets the number of scan points

  scan_single()

    Initiates a single scan

  set_IF_bandwidth(bandwidth)

    Sets the resolution bandwidth (IF bandwidth)

  set_averaging(averages)

    Sets the number of averages and enables/disables averaging. Should be between 1 and 999

  set_fixed_frequency(frequency)

    Sets the scan to be of only one frequency in Hz

  property start_frequency

    A floating point property that represents the start frequency in Hz. This property can be set.

  property stop_frequency

    A floating point property that represents the stop frequency in Hz. This property can be set.

  property sweep_time

    A floating point property that represents the sweep time in seconds. This property can be set.