write_integration_weights#

Integration.write_integration_weights(weights: Union[Waveforms, dict]) None[source]#

Upload complex integration weights.

The weight functions are applied to the real and imaginary part of the input signal. In the hardware the weights are implemented as 17-bit integers.

Parameters:

weights (Union[Waveforms, dict]) – Dictionary containing the weight functions, where keys correspond to the indices of the integration weights to be configured.

Return type:

None

Note

Does not raise an error when sample limit is exceeded, but applies only the maximum number of samples. Please refer to LabOne node documentation for the number of maximum integration weight samples.

Note

This function calls both /qas/n/integration/weights/n/real and /qas/n/integration/weights/n/imag nodes.

If only real or imaginary part is defined, the number of defined samples from the other one is zeroed.