abstract_impl#

class BPMHScalarAggregator(ring)[source]#

Bases: BPMScalarAggregator

Vertical BPM simulator aggregator

get()[source]#

Return a list variables

class BPMScalarAggregator(ring)[source]#

Bases: ScalarAggregator

BPM simulator aggregator

add_elem(elem)[source]#
get()[source]#

Return a list variables

readback()[source]#

Return a list variables (measurements)

set(value)[source]#

Write a list of variable

set_and_wait(value)[source]#

Write a list of variable and wait that setpoint are reached

unit()[source]#

Return the variables unit

class BPMVScalarAggregator(ring)[source]#

Bases: BPMScalarAggregator

Horizontal BPM simulator aggregator

get()[source]#

Return a list variables

class RBetatronTuneArray(ring)[source]#

Bases: ReadFloatArray

Class providing read-only access to the betatron tune of a ring.

get()[source]#

Get the value

unit()[source]#

Get the unit of the values

class RBpmArray(element, lattice)[source]#

Bases: ReadFloatArray

Class providing read access to a BPM position (array) of a simulator. Position in pyAT is calculated using find_orbit function, which returns the orbit at a specified index. The position is then extracted from the orbit array as the first two elements (x, y).

get()[source]#

Get the value

unit()[source]#

Get the unit of the values

class RWBpmOffsetArray(element)[source]#

Bases: ReadWriteFloatArray

Class providing read write access to a BPM offset (array) of a simulator. Offset in pyAT is defined in Offset attribute as a 2-element array.

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 RWBpmTiltScalar(element)[source]#

Bases: ReadWriteFloatScalar

Class providing read write access to a BPM tilt of a simulator. Tilt in pyAT is defined in Rotation attribute as a first element.

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

class RWHardwareArray(elements, poly, model)[source]#

Bases: ReadWriteFloatArray

Class providing read write access to a magnet of a simulator in hardware units. Hardware units are converted from strengths using the magnet model

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 RWHardwareScalar(elements, poly, model)[source]#

Bases: ReadWriteFloatScalar

Class providing read write access to a magnet of a simulator in hardware unit. Hardware unit is converted from strength using the magnet model

get()[source]#

Get the value

get_length()[source]#
get_model()[source]#
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

class RWRFATFrequencyScalar(ring)[source]#

Bases: ReadWriteFloatScalar

Class providing read write access to RF frequency of a simulator using AT methods.

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

class RWRFATotalVoltageScalar(ring)[source]#

Bases: ReadWriteFloatScalar

Class providing read write access to a RF voltage of a simulator using AT methods.

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

class RWRFFrequencyScalar(elements, harmonics)[source]#

Bases: ReadWriteFloatScalar

Class providing read write access to RF frequency of a simulator.

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

class RWRFPhaseScalar(elements)[source]#

Bases: ReadWriteFloatScalar

Class providing read write access to a cavity phase of a simulator for a given RF trasnmitter.

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

class RWRFVoltageScalar(elements)[source]#

Bases: ReadWriteFloatScalar

Class providing read write access to a cavity voltage of a simulator for a given RF trasnmitter.

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

class RWSerializedHardware(elements, element_index)[source]#

Bases: ReadWriteFloatScalar

get()[source]#

Get the value

get_element_length()[source]#
get_total_length()[source]#
set(value)[source]#

Set the value

set_and_wait(value)[source]#

Set the value and wait that setpoint is reached

set_magnet_rigidity(brho)[source]#
unit()[source]#

Get the unit of the value

class RWSerializedStrength(elements_strength, elements_hardware, element_index)[source]#

Bases: ReadWriteFloatScalar

get()[source]#

Get the value

get_element_length()[source]#
get_total_length()[source]#
set(value)[source]#

Set the value

set_and_wait(value)[source]#

Set the value and wait that setpoint is reached

set_magnet_rigidity(brho)[source]#
unit()[source]#

Get the unit of the value

class RWStrengthArray(elements, poly, model)[source]#

Bases: ReadWriteFloatArray

Class providing read write access to a strength (array) of a simulator

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 RWStrengthScalar(elements, poly, model)[source]#

Bases: ReadWriteFloatScalar

Class providing read write access to a strength of a simulator

get()[source]#

Get the value

get_element_length()[source]#
get_model()[source]#
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