optimizing off-momentun and on close orbit
Posted: 06 Oct 2010, 09:49
I have a lattice for which I compute the off-momentum closed orbit. When I subsequently track with
center_on_orbit=1 and center_momentum_also=1 with track everything works as expected.
In my closed orbit command i have start_from_centroid=1 and start_from_dp_centroid=1.
However, if instead of tracking, I want to do an optimization with the optimize command, it does not find the closed orbit when starting the optimization. It tells me:
"error: no beam present for closed-orbit calculation starting from centroid"
center_on_orbit=1 and center_momentum_also=1 with track everything works as expected.
In my closed orbit command i have start_from_centroid=1 and start_from_dp_centroid=1.
However, if instead of tracking, I want to do an optimization with the optimize command, it does not find the closed orbit when starting the optimization. It tells me:
"error: no beam present for closed-orbit calculation starting from centroid"