Agilent E4408B Spectrum Analyzer

class pymeasure.instruments.agilent.AgilentE4408B(resourceName, **kwargs)

Bases: pymeasure.instruments.instrument.Instrument

Represents the AgilentE4408B Spectrum Analyzer and provides a high-level interface for taking scans of high-frequency spectrums

property center_frequency

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

property frequencies

Returns a numpy array of frequencies in Hz that correspond to the current settings of the instrument.

property frequency_points

An integer property that represents the number of frequency points in the sweep. This property can take values from 101 to 8192.

property frequency_step

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

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.

trace(number=1)

Returns a numpy array of the data for a particular trace based on the trace number (1, 2, or 3).

trace_df(number=1)

Returns a pandas DataFrame containing the frequency and peak data for a particular trace, based on the trace number (1, 2, or 3).