Agilent E4408B Spectrum Analyzer

class pymeasure.instruments.agilent.AgilentE4408B(adapter, name='Agilent E4408B Spectrum Analyzer', **kwargs)

Bases: SCPIMixin, Instrument

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

property center_frequency: Any

Control the center frequency in Hz (float).

property frequencies

Get a numpy array of frequencies in Hz corresponding to the current settings.

property frequency_points: Any

Control the number of frequency points in the sweep (int, truncated from 101 to 8192).

property frequency_step: Any

Control the frequency step in Hz (float).

property start_frequency: Any

Control the start frequency in Hz (float).

property stop_frequency: Any

Control the stop frequency in Hz (float).

property sweep_time: Any

Control the sweep time in seconds (float).

trace(number=1)

Get a numpy array of the data for a particular trace.

Parameters:

number (int) – Trace number (1, 2, or 3). (default: 1)

trace_df(number=1)

Get a pandas DataFrame containing the frequency and peak data for a particular trace.