hibtc / madgui-old

[OBSOLETE] GUI for accelerator simulations using MAD-X
MIT License
1 stars 0 forks source link

Partial initial conditions #70

Closed coldfix closed 9 years ago

coldfix commented 9 years ago

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