[WIP] Linear Transport: Centroid Tracking#1409
Conversation
|
While implementing the feed-down logic, I think I stumbled on a convention-caused issue that we might want to check in ImpactX. Correct me if I got something wrong in my assumptions.
For the current implementation in this PR regarding feed-down effects in the linear maps from misalignment (something that MAD-X and Xsuite and others can model), we thus lack the capability to model ideal dipole kicks from an off-axis higher-order multipoles (or anything that depends on propagating the constant orbit offset): The current 6x6 map only carries linear transport maps (Jacobians), not orbit offsets.
With this PR we can model:
There are probably a few ways forward, but we need to discuss them: a) accept & document the limitations of what feed-down effects we can model |
361be46 to
1a98838
Compare
Add the linear transport map for the thin multipole. The implementation supports feed-down in linear optics from misalignment and off-axis reference particle. Higher-order thin multipoles contribute the correct linear focusing when the reference orbit is off axis or the element is misaligned, including the normal/skew mixing from transverse roll. This lets transfer maps, and currently developed map traces and Twiss optics see the same feed-down effects that particles experience through the element, with regression coverage for sextupole feed-down and periodic lattice optics. Two reusable helper methods are added to the `mixin::Alignment` class that we can use in other elements as well.
9a1e4af to
fa61eba
Compare
Add a centroid 6D phase vector to our envelope tracking logic.
The goal is to support off-axis envelope propagation and feed-down effects in linear optics from misalignment (translation & rotation) and off-axis reference particle.
This lets transfer maps, and currently developed map traces and Twiss optics see the same feed-down effects that particles experience through the element.
Reusable helper methods are added to the
mixin::Alignmentclass that we can use in other elements as well.Multipole (Illustrative Example)
Higher-order thin multipoles contribute the correct linear focusing when the reference orbit is off axis or the element is misaligned, including the normal/skew mixing from transverse roll.
Adds regression coverage for sextupole feed-down (e.g. Quads kicks) and periodic lattice optics.