Spectrum Analyzer
The SpectrumAnalyzer module is designed to return intensity values across a specified range, along with the corresponding x-axis values (e.g., wavelength or frequency). This makes it ideal for characterizing frequency-domain electrical signals. For optical spectrometers, refer to the Spectrometer module.
This module applies to a wide range of instruments, including:
- RF/microwave spectrum analyzers for electrical signal analysis
 
Device class programming
To implement support for new hardware, custom drivers must inherit from the `EmptyDevice` class and implement standard methods such as `initialize()`, `apply()`, and `call()`. Refer to the driver development guide for detailed instructions. For developing your own driver, you can use the SpectrumAnalyzer-Simulation_Driver as a template. It offers a basic implementation with simulated spectrum output and is an excellent starting point for custom development.
GUI Parameter
| GUI Field | gui parameter name | type | 
|---|---|---|
| Center/Min Frequency label | Frequency label 1 | 
str, float, dict
 | 
| Center/Min Frequency input | Frequency value 1 | 
str, float, dict
 | 
| Span/Max Frequency label | Frequency label 2 | 
str, float, dict
 | 
| Span/Max Frequency input | Frequency value 2 | 
str, float, dict
 | 
| Reference level in dBm | Reference level in dBm | 
str, float, dict
 | 
| Resolution bandwidth | Resolution bandwidth | 
str, float, dict
 | 
| Video bandwidth | Video bandwidth | 
str, float, dict
 | 
| Trace mode | Trace mode | 
list
 | 
| Trace mode integration type | Trace mode integration type | 
list
 | 
| Trace mode integration | Trace mode integration | 
str, float
 | 
| Video averaging | Video averaging | 
bool
 | 
In addition, you can define custom parameters using the flexible Parameters section. Any additional parameters added here will automatically appear as a custom parameter box in the module GUI. This is especially useful for parameters specific to your instrument or measurement setup.