accelmo.machine.machine_state¶
The machine state a model is put in: name/value pairs applied to the model’s globals.
A name is either a MAD-X variable (kbrqf, kqtf.a12b1, a corrector’s kbr3dhz2l4) or an
element attribute written <element>.<attribute> (br3.dhz2l4.kick). Element names are
upper case in the loaded sequence and matched case-insensitively. Assigning an element attribute
replaces its deferred expression (a kicker’s kick := kbr3dhz2l4) with the number.
A state is given as a mapping, as a name<TAB>value knobs file, or as a TFS corrector table
(columns ename, kind, hkick/vkick), which becomes one <ename>.<attribute> entry per kicker.