magnet_array#
- class MagnetArray(arrayName, magnets, use_aggregator=True)[source]#
Bases:
ElementArrayClass that implements access to a magnet array
- Parameters:
Example
An array can be retrieved from the configuration as in the following example:
sr = Accelerator.load("acc.yaml") quads = sr.design.get_magnets("QuadForTune")
- property hardwares: RWMagnetHardware#
Give access to hardware value of each magnet of this array
- property strengths: RWMagnetStrength#
Give access to strength of each magnet of this array
- class RWMagnetHardware(name, magnets)[source]#
Bases:
ReadWriteFloatArray