Instruments
Instrument
Bases: FunctionOverrideHandler
, ABC
Base class for instruments with configurable behavior.
Supports overriding connect
, setup
, and disconnect
methods
via a configuration dictionary.
Source code in sqil_core/experiment/instruments/_instrument.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 |
|
address
property
Instrument address (read-only).
config
property
Instrument configuration dictionary (read-only).
device
property
Raw instrument instance (read-only).
id
property
Instrument ID (read-only).
model
property
Instrument model (read-only).
name
property
Instrument name (read-only).
type
property
Instrument type (read-only).
variables
property
Instrument variables (read-only).
__getattr__(name)
Dynamically expose all attributes to Pyro server.
Source code in sqil_core/experiment/instruments/_instrument.py
__init__(id, config)
Initializes the instrument with an ID and configuration.
If connect
, setup
, or disconnect
are provided in config
,
they override the default implementations.
Source code in sqil_core/experiment/instruments/_instrument.py
connect(*args, **kwargs)
disconnect(*args, **kwargs)
on_after_experiment(*args, **kwargs)
Calls the overridden or default on_after_experiment
method.
on_after_sequence(*args, **kwargs)
on_before_experiment(*args, **kwargs)
Calls the overridden or default on_before_experiment
method.
on_before_sequence(*args, **kwargs)
Calls the overridden or default on_before_sequence
method.
ZI_Instrument
Bases: Instrument
Source code in sqil_core/experiment/instruments/zurich_instruments.py
descriptor
property
LaboneQ descriptor (read-only) - deprecated.
LocalOscillatorBase
Bases: Instrument
, ABC
Source code in sqil_core/experiment/instruments/local_oscillator.py
set_frequency(value)
abstractmethod
set_power(value)
abstractmethod
turn_off()
abstractmethod
SqilRohdeSchwarzSGS100A
Bases: LocalOscillatorBase
Frequency: [1 MHz, 20 GHz], resolution 0.001 Hz Power: [-120 dB, 25 dB], resolution 0.01 dB
Source code in sqil_core/experiment/instruments/local_oscillator.py
SqilSignalCoreSC5511A
Bases: LocalOscillatorBase
PORT 1 specifications Frequency: [100 MHz, 20 GHz], resolution 1 Hz Power: @ freq < 18 GHz: [-20 dBm, 15 dBm], resolution 0.01 dBm @ freq > 18 GHz: [-20 dBm, 10 dBm], resolution 0.01 dBm
Source code in sqil_core/experiment/instruments/local_oscillator.py
SqilSignalCoreSC5521A
Bases: LocalOscillatorBase
Frequency: [160 MHz, 40 GHz], resolution 1 Hz Power: @ freq < 30 GHz: [-10 dBm, 15 dBm], resolution 0.1 dBm @ freq < 35 GHz: [-10 dBm, 10 dBm], resolution 0.1 dBm @ freq > 35 GHz: [-10 dBm, 3 dBm], resolution 0.1 dBm