pwrdetector_qt
PowerDetector

- class qtrfblocks.PowerDetector(controller: PwrDetectorController, cal_devices: Dict | None = None)[source]
- create_detector_group(cal_callback: Callable | None = None, caldev_list: List[str] | None = None) QGroupBox [source]
Create UI controls for a power detector.
If
cal_callback
is notNone
a Calibration button will be included in the UI control group. This button gives access to the Calibrate dialog window which allows the specification of calibration parameters and the initiation of the calibration process.- Parameters:
cal_callback (Callable) – An optional callback which will perform a calibration on the detector.
caldev_list (List[str]) – An optional list of device names for the calibration signal source.
PwrCalibrationDialog

- class qtrfblocks.PwrCalibrationDialog(app: PowerDetector, controller: PwrDetectorController, cal_callback: Callable, caldev_list: List[str], parent: QObject | None = None)[source]