Keysight N9040B UXA Spectrum Analyzer¶
- class bench.keysight.n9040b.N9040B(address: str | None = None, use_config_file=False)¶
Bases:
Common
Keysight N9040B UXA
- property center_frequency: float¶
Returns the current center frequency in Hz
- get_marker_amplitude(marker=1)¶
Get current value of marker in dBm
- get_peak_table(peak_threshold_dBm: float, excursion_dB: float = 5) dict ¶
Get table of peaks
- Args:
peak_threshold_dBm (float) : Minimum threshold for peak excursion_dB (float) : Minimum variation to be considered a peak
- id = 'N9040B'¶
Substring returned by IDN query to identify the device
- measure_sfdr(span_hz=None, center_frequency_hz=None, max_iterations: int = 4, level_step_dBm: float = 6) float ¶
Determine SFDR in dBc
- Args:
span_hz (int optional): Set span in Hz center_frequency_hz (int optional): Set center frequency in Hz max_iterations (int optional): Maximum number of iterations to get at least 2 peaks level_step_dBm (float optional): Noise steps to decrease threshold until peak count > 1
- peak_search_marker(marker=1)¶
Set max peak search for a specific marker
- property peak_table¶
Get peak table status
- property reset¶
Reset the instrument
- screenshot(filename: str = 'N9040B_sc.png')¶
Takes a screenshot on PXA and returns it locally
- Args:
filename (str): filename+path to screenshot
- property span: float¶
Returns the Span in HZ