configure_pulse_modulation#

configure_pulse_modulation(daq: ziDAQServer, device_id: str, channel_index: int, *, enable: int, osc_index: int = 0, osc_frequency: float = 100000000.0, phase: float = 0.0, global_amp: float = 0.5, gains: tuple = (1.0, -1.0, 1.0, 1.0), sine_generator_index: int = 0) None[source]#

Configure the pulse modulation.

Configures the sine generator to digitally modulate the AWG output, for generating single sideband AWG signals.

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) – SHFQC device identifier, e.g. dev12004 or ‘shf-dev12004’

  • channel_index (int) – Index of the used SG channel.

  • enable (int) – Enables modulation.

  • osc_index (int) – Selects which oscillator to use.

  • osc_frequency (float) – Oscillator frequency used to modulate the AWG outputs. (default = 100e6)

  • phase (float) – Sets the oscillator phase. (default = 0.0)

  • global_amp (float) – Global scale factor for the AWG outputs. (default = 0.5)

  • gains (tuple) – Sets the four amplitudes used for single sideband generation. default values correspond to upper sideband with a positive oscillator frequency. (default = (1.0, -1.0, 1.0, 1.0))

  • sine_generator_index (int) – Selects which sine generator to use on a given channel.

Return type:

None