qcodes_contrib_drivers.drivers.GeneralMicrowave package

Submodules

qcodes_contrib_drivers.drivers.GeneralMicrowave.GM349 module

Driver for Kratos General Microwave Series 349 and 349H Attenuators.

These attenuators are passive devices that adjust attenuation based on digital signals supplied to their J3 connector. This driver serves as a simple wrapper to connect the attenuators with the digital output device(s) used to drive them.

Device specification: (https://www.kratosmed.com/gmcatalog/microwave-attenuators/ series-349-and-349h-octave-band-11-bit-digital-pin-diode-attenuators)

class qcodes_contrib_drivers.drivers.GeneralMicrowave.GM349.GM349(*args: Any, **kwargs: Any)[source]

Bases: Instrument

_summary_

Parameters:
  • name (string) – The name of the attenuator.

  • driver_dev (qcodes.Instrument) – The digital device used to drive the attenuator. This is usually a group of digital lines of a physical device.

pin_map()[source]

Mapping between GM349 J3 connector pins and physical lines of the driver device.

Returns:

A dictionary of the pin-to-digital-line mapping. The format is {J3 pin index: digital line}.

Return type:

dictionary

class qcodes_contrib_drivers.drivers.GeneralMicrowave.GM349.GM349Attenuation(name: str, driver_dev: Instrument, **kwargs)[source]

Bases: Parameter

Attenuation of GM349 attenuator.

Parameters:
  • name (string, default = 'attenuation') – The name of the parameter.

  • driver_dev (qcodes.Instrument) – The digital device used to drive the attenuator. This is usually a group of digital lines of a physical device.

get_raw()[source]

Return the last set attenuation

Returns:

The last set attenuation.

Return type:

float

set_raw(attenuation: float)[source]

Communicate with the driver device and change attenuation.

Parameters:

attenuation (float) – Desired attenuation, with in range (-63.97, 0).

Module contents