rf_plant#

class ConfigModel(*, name, description=None, lattice_names=None, masterclock=None, transmitters=None)[source]#

Bases: ElementConfigModel

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

masterclock: DeviceAccess | None#

Device to apply main RF frequency

transmitters: list[RFTransmitter] | None#

List of RF trasnmitters

class RFPlant(cfg)[source]#

Bases: Element

Main RF object

attach(peer, frequency, voltage)[source]#
property frequency: ReadWriteFloatScalar#
property voltage: ReadWriteFloatScalar#
class RWTotalVoltage(transmitters)[source]#

Bases: ReadWriteFloatScalar

Construct a RWTotalVoltage setter

Parameters:

transmitters (list[RFTransmitter]) – List of attached transmitters

get()[source]#

Get the value

set(value)[source]#

Set the value

set_and_wait(value)[source]#

Set the value and wait that setpoint is reached

unit()[source]#

Get the unit of the value