qat.purr.backends.live_devices module

class ControlHardware(id_=None)

Bases: Instrument

The actual control hardware. For now, there is only one per LiveHardwareModel. It contains all the physical channels, since in most of the cases, you interact with the control unit rather than with the individual channels.

add_physical_channel(*physical_channel)
set_data(data)
start_playback(repetitions, repetition_time)
class ControlHardwareChannel(id_, hardware_id, dcbiaschannel_pair, switch_ch=None, *args, **kwargs)

Bases: PhysicalChannel

Wrapper over a PhysicalChannel, that maps to a live instrument channel. This (and derived) object should contain hardware specific information.

class DCBiasChannel(channel_idx=None, bias_value=0, instrument=None)

Bases: Calibratable

This is generic DC Bias Channel class, It would ONLY accept DC bias card as instrument which needs to have get_voltage and set_voltage function.

property bias_value
connect_to_instrument()
class Instrument(address, id_=None)

Bases: Calibratable

An interface for any live instrument. It requires a unique address (IP address, USB VISA address, etc.). It is derived from Calibratable so the instruments will be saved in the calibration files. To avoid saving driver specific data in the calibration files, the actual drivers should be a property of this object, so the calibration will skip it.

close()
connect()
disconnect()
property driver
class LivePhysicalBaseband(id_, frequency, if_frequency, instrument=None, channel_idx=None)

Bases: PhysicalBaseband

A wrapper over the PhysicalBaseband, that connects to a live instrument.

connect_to_instrument()

Delayed connection to an instrument, in order to allow instantiating a LivePhysicalBaseband without having the live instrument ready.

abstract get_output_state()
set_frequency(value)
abstract turn_off()
abstract turn_on()