serialized_magnet_array#

class RWMagnetHardwares(name, magnets)[source]#

Bases: ReadWriteFloatArray

get()[source]#

Get the value

set(value)[source]#

Set the values

set_and_wait(value)[source]#

Set the values and wait that setpoints are reached

unit()[source]#

Get the unit of the value

class RWMagnetStrengths(name, magnets)[source]#

Bases: ReadWriteFloatArray

get()[source]#

Get the value

set(value)[source]#

Set the values

set_and_wait(value)[source]#

Set the values and wait that setpoints are reached

unit()[source]#

Get the unit of the value

class SerializedMagnetsArray(arrayName, magnets, use_aggregator=False)[source]#

Bases: ElementArray

Class that implements access to a serialized magnets array

Parameters:
  • arrayName (str) – Array name

  • magnets (list[Magnet]) – Magnet list, all elements must be attached to the same instance of either a Simulator or a ControlSystem.

  • use_aggregator (bool) – Use aggregator to increase performance by using parallel access to underlying devices.

property hardwares: RWMagnetHardwares#

Give access to hardware value of each magnet of this array

property strengths: RWMagnetStrengths#

Give access to strength of each magnet of this array