The HIT online control will read only some beam properties at MONITOR positions (subset of {betx, bety, x, y}). These values should be set independently from resetting all other values.
Naming ideas:
merge / inject / mixin / add
EDIT: It is probably better to use a hook.before_twiss to update the initial conditions for this use case instead. Then there is also the need to associate a handler to the segment belonging to specific TWISS conditions. I'd suggest hook.resize and return the segment from set_twiss_initial
The HIT online control will read only some beam properties at MONITOR positions (subset of {betx, bety, x, y}). These values should be set independently from resetting all other values.
Naming ideas:
merge / inject / mixin / add
EDIT: It is probably better to use a hook.before_twiss to update the initial conditions for this use case instead. Then there is also the need to associate a handler to the segment belonging to specific TWISS conditions. I'd suggest hook.resize and return the segment from set_twiss_initial