instrumentserver.testing.dummy_instruments.rf#

Classes

FluxControl(*args, **kwargs)

A dummy that hooks to ResonatorResponse and modifies its resonance frequency as if the resonator were a squid.

Generator(*args, **kwargs)

A simple dummy that mocks an RF generator.

ResonatorResponse(*args, **kwargs)

A dummy instrument that generates the response of a resonator measured in reflection.

class instrumentserver.testing.dummy_instruments.rf.FluxControl(*args: Any, **kwargs: Any)[source]#

Bases: Instrument

A dummy that hooks to ResonatorResponse and modifies its resonance frequency as if the resonator were a squid.

ask_raw(cmd: str) str[source]#

Dummy ask_raw so *IDN? and similar SCPI queries don’t log a scary traceback when qcodes asks for the IDN on instrument creation.

class instrumentserver.testing.dummy_instruments.rf.Generator(*args: Any, **kwargs: Any)[source]#

Bases: Instrument

A simple dummy that mocks an RF generator.

ask_raw(cmd: str) str[source]#

Dummy ask_raw so *IDN? and similar SCPI queries don’t log a scary traceback when qcodes asks for the IDN on instrument creation.

class instrumentserver.testing.dummy_instruments.rf.ResonatorResponse(*args: Any, **kwargs: Any)[source]#

Bases: Instrument

A dummy instrument that generates the response of a resonator measured in reflection.

Behavior is essentially that of a VNA, with the resonator and system properties added as parameters.

ask_raw(cmd: str) str[source]#

Dummy ask_raw so *IDN? and similar SCPI queries don’t log a scary traceback when qcodes asks for the IDN on instrument creation.

modulate_frequency(delta: float = 0, multiply: bool = False) None[source]#

Add an offset to the resonance frequency.

If multiply is True, the change in frequency is the product of delta and the set frequency. If False, then delta is added.