configure_weighted_integration#
- configure_weighted_integration(daq: ziDAQServer, device_id: str, channel_index: int, *, weights: dict, integration_delay: float = 0.0, clear_existing: bool = True) None [source]#
Configures the weighted integration on a specified channel.
- Parameters:
daq (ziDAQServer) – Instance of a Zurich Instruments API session connected to a Data Server. The device with identifier device_id is assumed to already be connected to this instance.
device_id (str) – SHFQA device identifier, e.g. dev12004 or ‘shf-dev12004’.
channel_index (int) – Index specifying which group of integration units the integration weights should be uploaded to - each channel is associated with a number of integration units that depend on available device options. Please refer to the SHFQA manual for more details.
weights (dict) – Dictionary containing the complex weight vectors, where keys correspond to the indices of the integration units to be configured.
integration_delay (float) – Delay in seconds before starting readout.
clear_existing (bool) – Specify whether to set all the integration weights to zero before proceeding with the present upload.
- Return type:
None