KeysightElectrometerController#
- class lsst.ts.electrometer.KeysightElectrometerController(log=None)#
Bases:
ElectrometerControllerProvide high-level control for a Keysight electrometer.
- Parameters:
log (
logging.LoggerorNone, optional) – Logger for controller messages. IfNone, a logger named for this class is created.
Methods Summary
configure(config)Configure the Keysight controller.
Configure and clear device storage used by scans.
configure_scan_trigger(timed_scan)Configure the scan trigger source for the current scan mode.
Stop data acquisition before reading the buffer.
Return the JSON schema for Keysight-specific configuration.
normalize_trace_elements(trace_format)Normalize trace elements reported by the device.
Set up the Keysight electrometer to prepare for a scan.
wait_for_scan_completion(scan_duration)Acquire data for a timed Keysight scan.
Methods Documentation
- configure(config)#
Configure the Keysight controller.
- Parameters:
config (
types.SimpleNamespace) – Configuration for one electrometer instance.
- async configure_scan_storage()#
Configure and clear device storage used by scans.
- Return type:
None
- async configure_scan_trigger(timed_scan)#
Configure the scan trigger source for the current scan mode.
- Parameters:
timed_scan (
bool)- Return type:
None
- async end_acquisition()#
Stop data acquisition before reading the buffer.
- Return type:
None
- classmethod get_config_schema()#
Return the JSON schema for Keysight-specific configuration.
- normalize_trace_elements(trace_format)#
Normalize trace elements reported by the device.
- Parameters:
trace_format (
str)- Return type:
list[str]
- async setup_scan()#
Set up the Keysight electrometer to prepare for a scan.
- async wait_for_scan_completion(scan_duration)#
Acquire data for a timed Keysight scan.
- Parameters:
scan_duration (
float) – Length of time to acquire data, in seconds.- Return type:
None